mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
fix(object): properly skip move updates in ObjectUpdateFirstPass
This commit is contained in:
parent
082bc06c69
commit
f44ba4bf63
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user