aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Object.h')
-rw-r--r--src/game/Object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Object.h b/src/game/Object.h
index 0e5bcd25a09..e8f9d9aafd7 100644
--- a/src/game/Object.h
+++ b/src/game/Object.h
@@ -440,7 +440,7 @@ class TRINITY_DLL_SPEC WorldObject : public Object
void GetRandomPoint( float x, float y, float z, float distance, float &rand_x, float &rand_y, float &rand_z ) const;
virtual uint32 GetMapId() const { return m_currMap ? m_currMap->GetId() : 0; }
- uint32 GetInstanceId() const { return m_currMap ? m_currMap->GetInstanceId() : 0; }
+ virtual uint32 GetInstanceId() const { return m_currMap ? m_currMap->GetInstanceId() : 0; }
virtual void SetPhaseMask(uint32 newPhaseMask, bool update);
uint32 GetPhaseMask() const { return m_phaseMask; }