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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user