*Some clean up and add debug info to find the reason of crash.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-26 19:28:21 -05:00
parent 390257b2f6
commit 21af4cf832
11 changed files with 88 additions and 58 deletions
+2 -1
View File
@@ -38,7 +38,7 @@ class TRINITY_DLL_SPEC TempSummon : public Creature
Unit* GetSummoner() const;
uint64 const& GetSummonerGUID() { return m_summonerGUID; }
SummonPropertiesEntry const *m_Properties;
const SummonPropertiesEntry * const m_Properties;
private:
TempSummonType m_type;
uint32 m_timer;
@@ -56,6 +56,7 @@ class Minion : public TempSummon
float GetFollowAngle() const { return m_followAngle; }
void SetFollowAngle(float angle) { m_followAngle = angle; }
bool IsPetGhoul() const {return GetEntry() == 26125;} // Ghoul may be guardian or pet
bool IsGuardianPet() const;
protected:
Unit * const m_owner;
float m_followAngle;