mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 20:19:57 +00:00
Escape number signs in cell/region names (bug #5047)
This commit is contained in:
parent
e0fb411fc8
commit
9a19af5b33
3 changed files with 3 additions and 1 deletions
|
@ -92,6 +92,7 @@
|
|||
Bug #5025: Data race in the ICO::setMaximumNumOfObjectsToCompilePerFrame()
|
||||
Bug #5028: Offered price caps are not trading-specific
|
||||
Bug #5038: Enchanting success chance calculations are blatantly wrong
|
||||
Bug #5047: # in cell names sets color
|
||||
Feature #1774: Handle AvoidNode
|
||||
Feature #2229: Improve pathfinding AI
|
||||
Feature #3025: Analogue gamepad movement controls
|
||||
|
|
|
@ -345,7 +345,7 @@ namespace MWClass
|
|||
store.get<ESM::Region>().find(cell->mRegion);
|
||||
|
||||
//name as is, not a token
|
||||
return region->mName;
|
||||
return MyGUI::TextIterator::toTagsString(region->mName);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1184,6 +1184,7 @@ namespace MWGui
|
|||
else if (tag.compare(0, tokenLength, tokenToFind) == 0)
|
||||
{
|
||||
_result = mTranslationDataStorage.translateCellName(tag.substr(tokenLength));
|
||||
_result = MyGUI::TextIterator::toTagsString(_result);
|
||||
}
|
||||
else if (Gui::replaceTag(tag, _result))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue