1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

Added code to display some HD mod buttons in hero exchange window

This commit is contained in:
Arseniy Lartsev
2020-04-01 00:01:57 +02:00
committed by Andrii Danylchenko
parent 24d2d5b702
commit 222a0e40c7
4 changed files with 23 additions and 0 deletions

View File

@ -332,6 +332,10 @@ CGeneralTextHandler::CGeneralTextHandler()
readToVector("DATA/TENTCOLR.TXT", tentColors);
readToVector("DATA/SKILLLEV.TXT", levels);
static const char *NEW_COMMANDS = "DATA/XCOMMAND.TXT";
if (CResourceHandler::get()->existsResource(ResourceID(NEW_COMMANDS, EResType::TEXT)))
readToVector(NEW_COMMANDS, newCommands);
localizedTexts = JsonNode(ResourceID("config/translate.json", EResType::TEXT));
{