1
0
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:
Ivan Savenko 2022-12-25 16:53:40 +02:00
parent 325c29da0d
commit a0ab760249

View File

@ -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);