All pastes #545783 Raw Edit

Someone

public text v1 · immutable
·published 2007-06-06 21:26 UTC
rendered paste body
Index: src/game/Object.cpp
===================================================================
--- src/game/Object.cpp	(revision 3830)
+++ src/game/Object.cpp	(working copy)
@@ -158,7 +158,8 @@
     ByteBuffer buf(500);
     buf << updatetype;
     //buf.append(GetPackGUID());    //client crashes when using this
-    buf << (uint8)0xFF << GetGUID();
+    //buf << (uint8)0xFF << GetGUID();
+    _SetPackGUID(&buf,GetGUID());    
     buf << m_objectTypeId;
 
     _BuildMovementUpdate(&buf, flags, flags2);
@@ -199,8 +200,9 @@
 
     buf << (uint8) UPDATETYPE_VALUES;
     //buf.append(GetPackGUID());    client crashes when using this
-    buf << (uint8)0xFF;
-    buf << GetGUID();
+    //buf << (uint8)0xFF;
+    //buf << GetGUID();
+    _SetPackGUID(&buf,GetGUID());
 
     UpdateMask updateMask;
     updateMask.SetCount( m_valuesCount );