1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Little more changes.

This commit is contained in:
Michał W. Urbańczyk
2010-12-09 23:10:28 +00:00
parent f020562570
commit 69b97e0a51
7 changed files with 17 additions and 20 deletions

View File

@@ -2087,7 +2087,7 @@ void CGameHandler::giveResource(int player, int which, int val)
sr.val = gs->players.find(player)->second.resources[which]+val;
sendAndApply(&sr);
}
void CGameHandler::giveCreatures (int objid, const CGHeroInstance * h, CCreatureSet creatures, bool remove)
void CGameHandler::giveCreatures (int objid, const CGHeroInstance * h, CCreatureSet &creatures, bool remove)
{
assert(0);
// if (creatures.stacksCount() <= 0)