Core/Auras: backout r2bf34fd7ac and add alternative - not spell specific sollution for the problem.

--HG--
branch : trunk
This commit is contained in:
QAston
2010-12-05 20:43:09 +01:00
parent 6fe19b5a86
commit 7db1b39224
4 changed files with 11 additions and 13 deletions

View File

@@ -567,6 +567,7 @@ bool AuraScript::_IsDefaultActionPrevented()
case AURA_SCRIPT_HOOK_EFFECT_PERIODIC:
return m_defaultActionPrevented;
default:
ASSERT(false && "m_defaultActionPrevented has incorrect value, or AuraScript::_IsDefaultActionPrevented is called in a wrong place");
return false;
}
}