From 133e30a8078b87427eacbf55f1bfa3ae705c0706 Mon Sep 17 00:00:00 2001 From: insunaa Date: Thu, 4 Jul 2024 10:38:52 +0200 Subject: [PATCH] Transport: Ensure correct HighGuid --- src/game/Entities/Player.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/Entities/Player.cpp b/src/game/Entities/Player.cpp index 090a4350431..a9c3b3af608 100644 --- a/src/game/Entities/Player.cpp +++ b/src/game/Entities/Player.cpp @@ -16501,7 +16501,10 @@ bool Player::LoadFromDB(ObjectGuid guid, SqlQueryHolder* holder) { GameObjectInfo const* transportInfo = sGOStorage.LookupEntry(data->id); if (transportInfo->type == GAMEOBJECT_TYPE_TRANSPORT) + { guid = ObjectGuid(HIGHGUID_GAMEOBJECT, data->id, transGUID); + m_movementInfo.t_guid = guid; + } } GenericTransport* transport = GetMap()->GetTransport(guid); Map* map = GetMap();