*Fix some crash bugs.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-02-25 17:53:05 -06:00
parent 8770a90bc6
commit ccde296fd3
9 changed files with 55 additions and 33 deletions
-1
View File
@@ -1101,7 +1101,6 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
return false;
}
bool isPossessing(Unit* u) const { return u->isPossessed() && GetCharmGUID() == u->GetGUID(); }
bool isPossessingCreature() const { return isPossessing() && IS_CREATURE_GUID(GetCharmGUID()); }
CharmInfo* GetCharmInfo() { return m_charmInfo; }
CharmInfo* InitCharmInfo(Unit* charm);