mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-15 21:18:06 +02:00
added comment
This commit is contained in:
parent
fa485d21b7
commit
c01d2d657c
1 changed files with 1 additions and 0 deletions
|
@ -208,6 +208,7 @@ void EntityMotionState::sendUpdate(OctreeEditPacketSender* packetSender, uint32_
|
|||
if (_numNonMovingUpdates <= 1) {
|
||||
// we only update lastEdited when we're sending new physics data
|
||||
// (i.e. NOT when we just simulate the positions forward, nore when we resend non-moving data)
|
||||
// NOTE: Andrew & Brad to discuss. Let's make sure we're using lastEdited, lastSimulated, and lastUpdated correctly
|
||||
quint64 lastSimulated = _entity->getLastSimulated();
|
||||
_entity->setLastEdited(lastSimulated);
|
||||
properties.setLastEdited(lastSimulated);
|
||||
|
|
Loading…
Reference in a new issue