mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
Stacks #2 -> towards new system of stack operations.
This commit is contained in:
@ -1019,6 +1019,12 @@ std::vector<si32> CStack::activeSpells() const
|
||||
return ret;
|
||||
}
|
||||
|
||||
CStack::~CStack()
|
||||
{
|
||||
if(vstd::contains(state, SUMMONED))
|
||||
delNull(base);
|
||||
}
|
||||
|
||||
CGHeroInstance * CGameState::HeroesPool::pickHeroFor(bool native, int player, const CTown *town, std::map<ui32,CGHeroInstance *> &available, const CHeroClass *bannedClass /*= NULL*/) const
|
||||
{
|
||||
CGHeroInstance *ret = NULL;
|
||||
|
Reference in New Issue
Block a user