Core/GameObjects: Remove unused function

This commit is contained in:
Shauren
2024-12-20 10:44:20 +01:00
parent 5f212c6916
commit 4ccaac5d91
2 changed files with 0 additions and 12 deletions
@@ -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();
@@ -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; }