*Fix a client crash caused by transport.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-04-23 00:12:29 -05:00
1 parent f5fff5b186
commit bce871f253
5 files changed
+52 -21

No files matched your search

+1 -1
View File
@@ -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());