mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
Removed debug code
This commit is contained in:
parent
325c29da0d
commit
a0ab760249
@ -145,8 +145,8 @@ ESpellCastProblem::ESpellCastProblem CBattleInfoCallback::battleCanCastSpell(con
|
||||
{
|
||||
case spells::Mode::HERO:
|
||||
{
|
||||
//if(battleCastSpells(side.get()) > 0)
|
||||
// return ESpellCastProblem::CASTS_PER_TURN_LIMIT;
|
||||
if(battleCastSpells(side.get()) > 0)
|
||||
return ESpellCastProblem::CASTS_PER_TURN_LIMIT;
|
||||
|
||||
auto hero = dynamic_cast<const CGHeroInstance *>(caster);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user