aboutsummaryrefslogtreecommitdiff
path: root/src/game/Object.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-02 09:51:51 -0600
committermegamage <none@none>2009-02-02 09:51:51 -0600
commit617dc4b64c1e0a861ff1d7f28a725bc8561875fd (patch)
treea1983acf16a178730b01fc2139f7e8ddc38e5bae /src/game/Object.cpp
parentd487e6d0394892634737238faa6f3d87a4718c88 (diff)
Fixed client crash. Author: tomrus88
--HG-- branch : trunk
Diffstat (limited to 'src/game/Object.cpp')
-rw-r--r--src/game/Object.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Object.cpp b/src/game/Object.cpp
index 42ff93f79d6..0a9d37a2754 100644
--- a/src/game/Object.cpp
+++ b/src/game/Object.cpp
@@ -458,6 +458,8 @@ void Object::_BuildMovementUpdate(ByteBuffer * data, uint8 flags, uint32 flags2)
*data << path.GetNodes()[i].z;
}
+ *data << uint8(0); // added in 3.0.8
+
/*for(uint32 i = 0; i < poscount; i++)
{
// path points