mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[11775] Fix compile with gcc for 32bit platforms.
This commit is contained in:
parent
d495a972a3
commit
a872624ce3
2 changed files with 4 additions and 4 deletions
|
|
@ -6974,7 +6974,7 @@ uint32 Unit::SpellHealingBonusDone(Unit *pVictim, SpellEntry const *spellProto,
|
|||
}
|
||||
}
|
||||
// Lifebloom
|
||||
else if (spellProto->IsFitToFamilyMask(0x0000001000000000))
|
||||
else if (spellProto->IsFitToFamilyMask(UI64LIT(0x0000001000000000)))
|
||||
{
|
||||
AuraList const& dummyList = owner->GetAurasByType(SPELL_AURA_DUMMY);
|
||||
for(AuraList::const_iterator i = dummyList.begin(); i != dummyList.end(); ++i)
|
||||
|
|
@ -9343,7 +9343,7 @@ void Unit::CleanupsBeforeDelete()
|
|||
else
|
||||
getHostileRefManager().deleteReferences();
|
||||
RemoveAllAuras(AURA_REMOVE_BY_DELETE);
|
||||
GetMotionMaster()->Clear(false,true); // remove all movement generators.
|
||||
GetMotionMaster()->Clear(false,true); // remove all movement generators.
|
||||
}
|
||||
WorldObject::CleanupsBeforeDelete();
|
||||
}
|
||||
|
|
@ -10746,7 +10746,7 @@ public:
|
|||
{
|
||||
MaNGOS::PlayerRelocationNotifier notify((Player&)m_owner);
|
||||
Cell::VisitAllObjects(&m_owner,notify,radius);
|
||||
}
|
||||
}
|
||||
else //if(m_owner.GetTypeId() == TYPEID_UNIT)
|
||||
{
|
||||
MaNGOS::CreatureRelocationNotifier notify((Creature&)m_owner);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue