Core/GameObjects: Remove unused function

Port From (https://github.com/TrinityCore/TrinityCore/commit/4ccaac5d91516181464e01c36396717674e4ae93)
This commit is contained in:
Hondacrx
2025-05-18 19:09:42 -04:00
parent 5b992859d0
commit 43d8277558
@@ -1258,17 +1258,6 @@ namespace Game.Entities
return gInfo.type == GameObjectTypes.Transport || gInfo.type == GameObjectTypes.MapObjTransport;
}
// is Dynamic transport = non-stop Transport
public bool IsDynTransport()
{
// If something is marked as a transport, don't transmit an out of range packet for it.
GameObjectTemplate gInfo = GetGoInfo();
if (gInfo == null)
return false;
return gInfo.type == GameObjectTypes.MapObjTransport || gInfo.type == GameObjectTypes.Transport;
}
public bool IsDestructibleBuilding()
{
GameObjectTemplate gInfo = GetGoInfo();