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

(cherry picked from commit 54c701cf0d)
This commit is contained in:
jackpoz
2020-06-26 23:28:33 +02:00
committed by Shauren
parent f7c1ae01f8
commit 68faf5bc4b
18 changed files with 50 additions and 50 deletions

View File

@@ -1125,7 +1125,7 @@ bool AuraScript::_IsDefaultActionPrevented() const
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;
}
}