aboutsummaryrefslogtreecommitdiff
path: root/src/game/GameObject.h
diff options
context:
space:
mode:
authorQAston <none@none>2009-08-01 20:23:23 +0200
committerQAston <none@none>2009-08-01 20:23:23 +0200
commitaa60def6acd9b15267cf3c95f9a7e65531838796 (patch)
tree1152d6944696f0a88c2008413281b0ed5c6bff95 /src/game/GameObject.h
parentd577d00313c673b51e79181ed8a5eb3146aded9e (diff)
*Teleport player to homebind if instance can't be created in WorldSession::HandleMoveWorldportAckOpcode.
--HG-- branch : trunk
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; }