Core/GameObjects: Transport (type 11) improvements

Port From (https://github.com/TrinityCore/TrinityCore/commit/630b60eb0dcd3d9ce41582664ab822b049365431)
This commit is contained in:
hondacrx
2022-06-03 16:20:41 -04:00
parent e65ce31742
commit 40444525b2
30 changed files with 807 additions and 377 deletions
+1 -1
View File
@@ -654,7 +654,7 @@ namespace Game.Chat
Player chr = handler.GetSession().GetPlayer();
Map map = chr.GetMap();
Transport trans = chr.GetTransport();
Transport trans = chr.GetTransport<Transport>();
if (trans)
{
ulong guid = Global.ObjectMgr.GenerateCreatureSpawnId();