*Clean up summon code.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-03 10:45:34 -05:00
parent f9b13b45e0
commit f6e8ccb239
4 changed files with 33 additions and 58 deletions
+1 -3
View File
@@ -38,8 +38,6 @@ class TempSummon : public Creature
uint64 const& GetSummonerGUID() { return m_summonerGUID; }
SummonPropertiesEntry const *m_Properties;
bool SetOwner(Unit *owner, bool apply);
private:
TempSummonType m_type;
uint32 m_timer;
@@ -55,7 +53,7 @@ class Minion : public TempSummon
void RemoveFromWorld();
Unit *GetOwner() { return m_owner; }
protected:
Unit *m_owner;
Unit * const m_owner;
};
class Guardian : public Minion