mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
TerrainTile now uses identifiers instead of pointers to VLC
This commit is contained in:
@ -90,10 +90,10 @@ int3 IBoatGenerator::bestLocation() const
|
||||
if(!tile)
|
||||
continue; // tile not visible / outside the map
|
||||
|
||||
if(!tile->terType->isWater())
|
||||
if(!tile->isWater())
|
||||
continue;
|
||||
|
||||
if (tile->blocked)
|
||||
if (tile->blocked())
|
||||
{
|
||||
bool hasBoat = false;
|
||||
for (auto const * object : tile->blockingObjects)
|
||||
|
Reference in New Issue
Block a user