1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Fix incorrect sand shore id

This commit is contained in:
Tomasz Zieliński 2023-07-26 17:12:09 +02:00
parent 7b17c5ae18
commit 2747174810

View File

@ -1244,7 +1244,7 @@ BattleField CGameState::battleGetBattlefieldType(int3 tile, CRandomGenerator & r
}
if(map->isCoastalTile(tile)) //coastal tile is always ground
return BattleField(*VLC->modh->identifiers.getIdentifier("core", "battlefield", "sand_shore"));
return BattleField(*VLC->modh->identifiers.getIdentifier("core", "battlefield.sand_shore"));
return BattleField(*RandomGeneratorUtil::nextItem(t.terType->battleFields, rand));
}