mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-29 00:41:38 +02:00
Centralize dispell mechanics
This commit is contained in:
@ -101,6 +101,12 @@ CSpell::~CSpell()
|
||||
delete mechanics;
|
||||
}
|
||||
|
||||
void CSpell::afterCast(BattleInfo * battle, const BattleSpellCast * packet) const
|
||||
{
|
||||
mechanics->afterCast(battle, packet);
|
||||
}
|
||||
|
||||
|
||||
void CSpell::battleCast(const SpellCastEnvironment * env, BattleSpellCastParameters & parameters) const
|
||||
{
|
||||
assert(env);
|
||||
|
Reference in New Issue
Block a user