Merge pull request #2400 from Capostrophic/colorcode

Escape number signs in cell/region names (bug #5047)
pull/541/head
Andrei Kortunov 6 years ago committed by GitHub
commit 34fe896f4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -94,6 +94,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);
}
}

@ -1183,6 +1183,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…
Cancel
Save