*Creature Groups - additional checks added.(hope it fix the crash). VC71 VC80 updated.

--HG--
branch : trunk
This commit is contained in:
2008-12-16 09:39:33 +02:00
parent 827b706028
commit e4be94461b
5 changed files with 20 additions and 4 deletions
+1 -1
View File
@@ -627,7 +627,7 @@ class TRINITY_DLL_SPEC Creature : public Unit
void UpdateWaypointID(uint32 wpID){m_waypointID = wpID;}
void SearchFormation();
bool IsFormationLeader() {return GetDBTableGUIDLow() == m_formationID;}
bool IsFormationLeader() {return (GetDBTableGUIDLow() && GetDBTableGUIDLow() == m_formationID);}
uint32 GetFormationID(){return m_formationID;}
protected: