diff options
| author | megamage <none@none> | 2009-08-26 19:28:21 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-08-26 19:28:21 -0500 |
| commit | 21af4cf832daeccb1617e37e15cd7b9bcebfb6c8 (patch) | |
| tree | 04d46e30bc492ba8aa7b449ab2a3f721e95d96a3 /src/game/TemporarySummon.h | |
| parent | 390257b2f6d4d4b03a3226a39b478b3ea92b4dea (diff) | |
*Some clean up and add debug info to find the reason of crash.
--HG--
branch : trunk
Diffstat (limited to 'src/game/TemporarySummon.h')
| -rw-r--r-- | src/game/TemporarySummon.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/TemporarySummon.h b/src/game/TemporarySummon.h index 3fd960fc4e3..e67a5573ce2 100644 --- a/src/game/TemporarySummon.h +++ b/src/game/TemporarySummon.h @@ -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; |
