diff options
| author | megamage <none@none> | 2009-06-06 20:22:14 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-06-06 20:22:14 -0500 |
| commit | 1c1ead52dd85c51538ac5f26846ba67f951ba31b (patch) | |
| tree | a02c3e705b088ebe4cf40144465e5e8e88f9059c /src/game/DynamicObject.h | |
| parent | 54d3b86ffa2a650e08cc9dfda45895c97ba30b26 (diff) | |
[7967] Removed unused field. Author: tomrus88
--HG--
branch : trunk
Diffstat (limited to 'src/game/DynamicObject.h')
| -rw-r--r-- | src/game/DynamicObject.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/DynamicObject.h b/src/game/DynamicObject.h index 714b639e552..22009b92d14 100644 --- a/src/game/DynamicObject.h +++ b/src/game/DynamicObject.h @@ -41,7 +41,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 GridReference<DynamicObject> &GetGridRef() { return m_gridRef; } protected: - uint64 m_casterGuid; uint32 m_spellId; uint32 m_effIndex; int32 m_aliveDuration; |
