mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
TerrainTile now uses identifiers instead of pointers to VLC
This commit is contained in:
@@ -55,7 +55,7 @@ std::string CMapHandler::getTerrainDescr(const int3 & pos, bool rightClick) cons
|
||||
if(t.hasFavorableWinds())
|
||||
return CGI->objtypeh->getObjectName(Obj::FAVORABLE_WINDS, 0);
|
||||
|
||||
std::string result = t.terType->getNameTranslated();
|
||||
std::string result = t.getTerrain()->getNameTranslated();
|
||||
|
||||
for(const auto & object : map->objects)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user