mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Minor tweak.
This commit is contained in:
@@ -959,7 +959,7 @@ void CMapLoaderH3M::readTerrain()
|
||||
tile.roadType = static_cast<ERoadType::ERoadType>(reader.readUInt8());
|
||||
tile.roadDir = reader.readUInt8();
|
||||
tile.extTileFlags = reader.readUInt8();
|
||||
tile.blocked = (tile.terType == ETerrainType::ROCK ? 1 : 0); //underground tiles are always blocked
|
||||
tile.blocked = ((tile.terType == ETerrainType::ROCK || tile.terType == ETerrainType::BORDER ) ? true : false); //underground tiles are always blocked
|
||||
tile.visitable = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user