diff --git a/src/modules/SD2/include/sc_creature.cpp b/src/modules/SD2/include/sc_creature.cpp index e1c33835..64e7990f 100644 --- a/src/modules/SD2/include/sc_creature.cpp +++ b/src/modules/SD2/include/sc_creature.cpp @@ -245,13 +245,13 @@ SpellEntry const* ScriptedAI::SelectSpell(Unit* pTarget, int32 /*uiSchool*/, int // No target so we can't cast if (!pTarget) { - return false; + return NULL; } // Silenced so we can't cast if (m_creature->HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_SILENCED)) { - return false; + return NULL; } // Using the extended script system we first create a list of viable spells