[11775] Fix compile with gcc for 32bit platforms.

This commit is contained in:
Lynx3d 2011-08-08 17:08:18 +02:00
parent d495a972a3
commit a872624ce3
2 changed files with 4 additions and 4 deletions

View file

@ -6974,7 +6974,7 @@ uint32 Unit::SpellHealingBonusDone(Unit *pVictim, SpellEntry const *spellProto,
} }
} }
// Lifebloom // Lifebloom
else if (spellProto->IsFitToFamilyMask(0x0000001000000000)) else if (spellProto->IsFitToFamilyMask(UI64LIT(0x0000001000000000)))
{ {
AuraList const& dummyList = owner->GetAurasByType(SPELL_AURA_DUMMY); AuraList const& dummyList = owner->GetAurasByType(SPELL_AURA_DUMMY);
for(AuraList::const_iterator i = dummyList.begin(); i != dummyList.end(); ++i) for(AuraList::const_iterator i = dummyList.begin(); i != dummyList.end(); ++i)
@ -9343,7 +9343,7 @@ void Unit::CleanupsBeforeDelete()
else else
getHostileRefManager().deleteReferences(); getHostileRefManager().deleteReferences();
RemoveAllAuras(AURA_REMOVE_BY_DELETE); RemoveAllAuras(AURA_REMOVE_BY_DELETE);
GetMotionMaster()->Clear(false,true); // remove all movement generators. GetMotionMaster()->Clear(false,true); // remove all movement generators.
} }
WorldObject::CleanupsBeforeDelete(); WorldObject::CleanupsBeforeDelete();
} }
@ -10746,7 +10746,7 @@ public:
{ {
MaNGOS::PlayerRelocationNotifier notify((Player&)m_owner); MaNGOS::PlayerRelocationNotifier notify((Player&)m_owner);
Cell::VisitAllObjects(&m_owner,notify,radius); Cell::VisitAllObjects(&m_owner,notify,radius);
} }
else //if(m_owner.GetTypeId() == TYPEID_UNIT) else //if(m_owner.GetTypeId() == TYPEID_UNIT)
{ {
MaNGOS::CreatureRelocationNotifier notify((Creature&)m_owner); MaNGOS::CreatureRelocationNotifier notify((Creature&)m_owner);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "11774" #define REVISION_NR "11775"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__