aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameObject.h')
-rw-r--r--src/game/GameObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameObject.h b/src/game/GameObject.h
index 97c532605d3..b96213bfad5 100644
--- a/src/game/GameObject.h
+++ b/src/game/GameObject.h
@@ -593,7 +593,7 @@ class TRINITY_DLL_SPEC GameObject : public WorldObject
void SetOwnerGUID(uint64 owner);
uint64 GetOwnerGUID() const { return GetUInt64Value(OBJECT_FIELD_CREATED_BY); }
- Unit* GetOwner() const;
+ Unit* GetOwner(bool inWorld = true) const;
uint32 GetDBTableGUIDLow() const { return m_DBTableGuid; }