*Clean up summon code.
--HG-- branch : trunk
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user