diff options
| author | Shauren <shauren.trinity@gmail.com> | 2024-12-20 10:44:20 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2024-12-20 10:44:20 +0100 |
| commit | 4ccaac5d91516181464e01c36396717674e4ae93 (patch) | |
| tree | 09f4849048b96a231a848773e18848a6044e446d /src | |
| parent | 5f212c6916219912b7bddc1f0f93c54c8dc2bc9b (diff) | |
Core/GameObjects: Remove unused function
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 96be3990fcd..c3a9610ad2b 100644 --- a/src/server/game/Entities/GameObject/GameObject.cpp +++ b/src/server/game/Entities/GameObject/GameObject.cpp @@ -2108,17 +2108,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 97b3f9f2f37..a92a5bacdd8 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; } |
