mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
*Fix a client crash caused by transport.
--HG-- branch : trunk
This commit is contained in:
@@ -13546,7 +13546,7 @@ void Unit::BuildMovementPacket(ByteBuffer *data) const
|
||||
else if(GetTransport())
|
||||
*data << (uint64)GetTransport()->GetGUID();
|
||||
else
|
||||
*data << (uint64)0;
|
||||
*data << (uint64)0; //This will cause client crash
|
||||
*data << float (GetTransOffsetX());
|
||||
*data << float (GetTransOffsetY());
|
||||
*data << float (GetTransOffsetZ());
|
||||
|
||||
Reference in New Issue
Block a user