*Fix a client crash caused by transport.
--HG-- branch : trunk
This commit is contained in:
1 parent
f5fff5b186
commit
bce871f253
5 files changed
+52
-21
No files matched your search
+1
-1
@@ -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