1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-03 23:19:22 +02:00

Fix minimap updating on hero loss

This commit is contained in:
Ivan Savenko
2023-02-12 13:02:06 +02:00
parent 91b17bed79
commit 72fe1fcfa9
5 changed files with 11 additions and 1 deletions

View File

@@ -2016,7 +2016,7 @@ void NewTurn::applyGs(CGameState *gs)
for(const auto & re : res)
{
assert(i->first < PlayerColor::PLAYER_LIMIT);
assert(re.first < PlayerColor::PLAYER_LIMIT);
gs->getPlayerState(re.first)->resources = re.second;
}