mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
debugging
This commit is contained in:
parent
ebae87136f
commit
5acc018bda
1 changed files with 1 additions and 0 deletions
|
@ -667,6 +667,7 @@ void EntityItem::adjustEditPacketForClockSkew(unsigned char* editPacketBuffer, s
|
|||
// lastEdited
|
||||
quint64 lastEditedInLocalTime;
|
||||
memcpy(&lastEditedInLocalTime, dataAt, sizeof(lastEditedInLocalTime));
|
||||
assert(lastEditedInLocalTime > 0);
|
||||
quint64 lastEditedInServerTime = lastEditedInLocalTime + clockSkew;
|
||||
memcpy(dataAt, &lastEditedInServerTime, sizeof(lastEditedInServerTime));
|
||||
//#ifdef WANT_DEBUG
|
||||
|
|
Loading…
Reference in a new issue