mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Support for Magic Spring
Optimized Pandora Box
This commit is contained in:
@@ -1570,7 +1570,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)
|
||||
void CGameHandler::giveCreatures (int objid, const CGHeroInstance * h, const CCreatureSet *creatures) const
|
||||
{
|
||||
if (creatures->slots.size() <= 0)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user