mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Map/Road/River identifiers are now private members
This commit is contained in:
@ -1132,7 +1132,7 @@ void CGTownInstance::setType(si32 ID, si32 subID)
|
||||
|
||||
void CGTownInstance::updateAppearance()
|
||||
{
|
||||
auto terrain = cb->gameState()->getTile(visitablePos())->terType->id;
|
||||
auto terrain = cb->gameState()->getTile(visitablePos())->terType->getId();
|
||||
//FIXME: not the best way to do this
|
||||
auto app = VLC->objtypeh->getHandlerFor(ID, subID)->getOverride(terrain, this);
|
||||
if (app)
|
||||
|
Reference in New Issue
Block a user