diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Entities/GameObject/GameObject.cpp | 11 | ||||
-rw-r--r-- | src/server/game/Entities/GameObject/GameObject.h | 1 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/server/game/Entities/GameObject/GameObject.cpp b/src/server/game/Entities/GameObject/GameObject.cpp index 7e13e4f2f37..ce5ef876f20 100644 --- a/src/server/game/Entities/GameObject/GameObject.cpp +++ b/src/server/game/Entities/GameObject/GameObject.cpp @@ -2102,17 +2102,6 @@ bool GameObject::IsTransport() const return gInfo->type == GAMEOBJECT_TYPE_TRANSPORT || gInfo->type == GAMEOBJECT_TYPE_MAP_OBJ_TRANSPORT; } -// is Dynamic transport = non-stop Transport -bool GameObject::IsDynTransport() const -{ - // If something is marked as a transport, don't transmit an out of range packet for it. - GameObjectTemplate const* gInfo = GetGOInfo(); - if (!gInfo) - return false; - - return gInfo->type == GAMEOBJECT_TYPE_MAP_OBJ_TRANSPORT || gInfo->type == GAMEOBJECT_TYPE_TRANSPORT; -} - bool GameObject::IsDestructibleBuilding() const { GameObjectTemplate const* gInfo = GetGOInfo(); diff --git a/src/server/game/Entities/GameObject/GameObject.h b/src/server/game/Entities/GameObject/GameObject.h index 57bc2c5d72c..10670b70c50 100644 --- a/src/server/game/Entities/GameObject/GameObject.h +++ b/src/server/game/Entities/GameObject/GameObject.h @@ -206,7 +206,6 @@ class TC_GAME_API GameObject : public WorldObject, public GridObject<GameObject> GameObjectValue const* GetGOValue() const { return &m_goValue; } bool IsTransport() const; - bool IsDynTransport() const; bool IsDestructibleBuilding() const; ObjectGuid::LowType GetSpawnId() const { return m_spawnId; } |