mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
Terrain/Road/River handler are now in compileable state
This commit is contained in:
@ -2244,7 +2244,7 @@ void CGameHandler::setupBattle(int3 tile, const CArmedInstance *armies[2], const
|
||||
const auto & t = *getTile(tile);
|
||||
TerrainId terrain = t.terType->id;
|
||||
if (gs->map->isCoastalTile(tile)) //coastal tile is always ground
|
||||
terrain = TerrainId::SAND;
|
||||
terrain = ETerrainId::SAND;
|
||||
|
||||
BattleField terType = gs->battleGetBattlefieldType(tile, getRandomGenerator());
|
||||
if (heroes[0] && heroes[0]->boat && heroes[1] && heroes[1]->boat)
|
||||
|
Reference in New Issue
Block a user