mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-17 13:41:07 +02:00
cleanup
This commit is contained in:
parent
0612042928
commit
943a5bf0d3
@ -1325,12 +1325,6 @@ void CBattleInterface::spellCast( const BattleSpellCast * sc )
|
|||||||
break;
|
break;
|
||||||
} //switch(sc->id)
|
} //switch(sc->id)
|
||||||
|
|
||||||
// if (spell.isDamageSpell() && sc->affectedCres.empty()) //for example Inferno that causes no BattleStackAttacked
|
|
||||||
// {
|
|
||||||
// if(sc->tile.isValid() && graphics->battleACToDef.count(spell.mainEffectAnim)) //eg. when casting Lind Mine or Fire Wall
|
|
||||||
// displayEffect (spell.mainEffectAnim, sc->tile);
|
|
||||||
// }
|
|
||||||
|
|
||||||
//displaying message in console
|
//displaying message in console
|
||||||
bool customSpell = false;
|
bool customSpell = false;
|
||||||
if(sc->affectedCres.size() == 1)
|
if(sc->affectedCres.size() == 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user