mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Remove access to creature dwellings names via CGeneralTextHandler
This commit is contained in:
parent
f71cbc5d9b
commit
50e8a62178
@ -149,10 +149,10 @@ void MetaString::getLocalString(const std::pair<ui8,ui32> &txt, std::string &dst
|
||||
dst = VLC->generaltexth->translate("core.arraytxt", ser);
|
||||
break;
|
||||
case CREGENS:
|
||||
dst = VLC->generaltexth->translate("core.crgen1", ser);
|
||||
dst = VLC->objtypeh->getObjectName(Obj::CREATURE_GENERATOR1, ser);
|
||||
break;
|
||||
case CREGENS4:
|
||||
dst = VLC->generaltexth->translate("core.crgen4", ser);
|
||||
dst = VLC->objtypeh->getObjectName(Obj::CREATURE_GENERATOR4, ser);
|
||||
break;
|
||||
case ADVOB_TXT:
|
||||
dst = VLC->generaltexth->translate("core.advevent", ser);
|
||||
|
@ -440,8 +440,6 @@ CGeneralTextHandler::CGeneralTextHandler():
|
||||
readToVector("core.advevent", "DATA/ADVEVENT.TXT" );
|
||||
readToVector("core.restypes", "DATA/RESTYPES.TXT" );
|
||||
readToVector("core.randsign", "DATA/RANDSIGN.TXT" );
|
||||
readToVector("core.crgen1", "DATA/CRGEN1.TXT" );
|
||||
readToVector("core.crgen4", "DATA/CRGEN4.TXT" );
|
||||
readToVector("core.overview", "DATA/OVERVIEW.TXT" );
|
||||
readToVector("core.arraytxt", "DATA/ARRAYTXT.TXT" );
|
||||
readToVector("core.priskill", "DATA/PRISKILL.TXT" );
|
||||
|
Loading…
Reference in New Issue
Block a user