mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
* improved Events handling
* fixed saving town available creatures info * minor improvements
This commit is contained in:
@@ -1296,7 +1296,7 @@ void CGameHandler::giveResource(int player, int which, int val)
|
||||
SetResource sr;
|
||||
sr.player = player;
|
||||
sr.resid = which;
|
||||
sr.val = (gs->players.find(player)->second.resources[which]+val);
|
||||
sr.val = gs->players.find(player)->second.resources[which]+val;
|
||||
sendAndApply(&sr);
|
||||
}
|
||||
void CGameHandler::showCompInfo(ShowInInfobox * comp)
|
||||
|
||||
Reference in New Issue
Block a user