mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-27 16:22:32 +03:00
fix(object): properly skip move updates in ObjectUpdateFirstPass
This commit is contained in:
1 file changed
+3
-2
@@ -276,11 +276,12 @@ int32_t ObjectUpdateFirstPass(CDataStore* msg, uint32_t time, uint32_t updateIdx
|
|||||||
}
|
}
|
||||||
|
|
||||||
case UPDATE_MOVEMENT: {
|
case UPDATE_MOVEMENT: {
|
||||||
// Read but ignored in first pass
|
// Skipped in first pass
|
||||||
|
|
||||||
SmartGUID guid;
|
SmartGUID guid;
|
||||||
*msg >> guid;
|
*msg >> guid;
|
||||||
|
|
||||||
UpdateObjectMovement(msg);
|
CClientMoveUpdate::Skip(msg);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user