1
0
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:
Michał W. Urbańczyk
2009-07-15 22:46:00 +00:00
parent 48661bd714
commit 23803c9f17
8 changed files with 34 additions and 27 deletions

View File

@@ -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)