mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Common: Replace ASSERT(false, "...") with ABORT_MSG("...")
(cherry picked from commit 54c701cf0d)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user