mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[7967] Removed unused field. (cherry picked from commit acb3e8402f08aa0c2073bc78607f76c8d7098105)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
e5e8a3755f
commit
3b72c6f207
4 changed files with 37 additions and 25 deletions
|
|
@ -39,7 +39,7 @@ class DynamicObject : public WorldObject
|
|||
uint32 GetSpellId() const { return m_spellId; }
|
||||
uint32 GetEffIndex() const { return m_effIndex; }
|
||||
uint32 GetDuration() const { return m_aliveDuration; }
|
||||
uint64 GetCasterGUID() const { return m_casterGuid; }
|
||||
uint64 GetCasterGUID() const { return GetUInt64Value(DYNAMICOBJECT_CASTER); }
|
||||
Unit* GetCaster() const;
|
||||
float GetRadius() const { return m_radius; }
|
||||
bool IsAffecting(Unit *unit) const { return m_affected.find(unit) != m_affected.end(); }
|
||||
|
|
@ -58,7 +58,6 @@ class DynamicObject : public WorldObject
|
|||
|
||||
bool isActiveObject() const { return false; }
|
||||
protected:
|
||||
uint64 m_casterGuid;
|
||||
uint32 m_spellId;
|
||||
uint32 m_effIndex;
|
||||
int32 m_aliveDuration;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue