*Fix a client crash caused by transport.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-23 00:12:29 -05:00
parent f5fff5b186
commit bce871f253
5 changed files with 52 additions and 21 deletions

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());