Core/Common: Replace ASSERT(false, "...") with ABORT_MSG("...")

This commit is contained in:
jackpoz
2020-06-26 23:28:33 +02:00
parent 49da3533cd
commit 54c701cf0d
15 changed files with 41 additions and 41 deletions

View File

@@ -1030,7 +1030,7 @@ bool AuraScript::_IsDefaultActionPrevented()
case AURA_SCRIPT_HOOK_EFFECT_PROC:
return m_defaultActionPrevented;
default:
ASSERT(false && "AuraScript::_IsDefaultActionPrevented is called in a wrong place");
ABORT_MSG("AuraScript::_IsDefaultActionPrevented is called in a wrong place");
return false;
}
}