mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 01:37:01 +00:00
[9638] Replace all C assert()s with MaNGOS ASSERT() macro.
This commit is contained in:
parent
4443737005
commit
51fd11c92c
34 changed files with 121 additions and 121 deletions
|
|
@ -378,9 +378,9 @@ m_effIndex(eff), m_auraSlot(MAX_AURAS), m_auraFlags(AFLAG_NONE), m_auraLevel(1),
|
|||
m_positive(false), m_permanent(false), m_isPeriodic(false), m_isAreaAura(false), m_isPersistent(false),
|
||||
m_isRemovedOnShapeLost(true), m_in_use(0), m_deleted(false)
|
||||
{
|
||||
assert(target);
|
||||
ASSERT(target);
|
||||
|
||||
assert(spellproto && spellproto == sSpellStore.LookupEntry( spellproto->Id ) && "`info` must be pointer to sSpellStore element");
|
||||
ASSERT(spellproto && spellproto == sSpellStore.LookupEntry( spellproto->Id ) && "`info` must be pointer to sSpellStore element");
|
||||
|
||||
m_spellProto = spellproto;
|
||||
|
||||
|
|
@ -8190,7 +8190,7 @@ void Aura::UnregisterSingleCastAura()
|
|||
else
|
||||
{
|
||||
sLog.outError("Couldn't find the caster of the single target aura (SpellId %u), may crash later!", GetId());
|
||||
assert(false);
|
||||
ASSERT(false);
|
||||
}
|
||||
m_isSingleTargetAura = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue