mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-18 06:00:10 -04: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