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

Merge pull request #2418 from vcmi/fix_morn_battlefields

Fix morn battlefields
This commit is contained in:
DjWarmonger 2023-07-27 07:08:10 +02:00 committed by GitHub
commit a188d55685
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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));
}