diff options
author | megamage <none@none> | 2009-04-23 00:12:29 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-04-23 00:12:29 -0500 |
commit | bce871f253d65da99f298c7eaf798b61c8c31369 (patch) | |
tree | b39c1e74cd31a49186b0b272509d905f8fb50b81 /src/game/Unit.cpp | |
parent | f5fff5b186cffe7de4853897ba95cd8d08038d56 (diff) |
*Fix a client crash caused by transport.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 887ef6993df..832e2e6fff4 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -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()); |