mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 15:49:51 +02:00
re-enable code that ignores old packets
This commit is contained in:
parent
d52a45b57e
commit
f52747d8c1
1 changed files with 0 additions and 4 deletions
|
@ -402,9 +402,7 @@ int EntityItem::readEntityDataFromBuffer(const unsigned char* data, int bytesLef
|
|||
lastEditedFromBufferAdjusted = now;
|
||||
}
|
||||
|
||||
#if 0 // XXX
|
||||
bool fromSameServerEdit = (lastEditedFromBuffer == _lastEditedFromRemoteInRemoteTime);
|
||||
#endif
|
||||
|
||||
#ifdef WANT_DEBUG
|
||||
qCDebug(entities) << "data from server **************** ";
|
||||
|
@ -421,7 +419,6 @@ int EntityItem::readEntityDataFromBuffer(const unsigned char* data, int bytesLef
|
|||
|
||||
bool ignoreServerPacket = false; // assume we'll use this server packet
|
||||
|
||||
#if 0 // XXX Trying to eliminate this code as a possible source of deviation between interfaces
|
||||
// If this packet is from the same server edit as the last packet we accepted from the server
|
||||
// we probably want to use it.
|
||||
if (fromSameServerEdit) {
|
||||
|
@ -438,7 +435,6 @@ int EntityItem::readEntityDataFromBuffer(const unsigned char* data, int bytesLef
|
|||
ignoreServerPacket = true;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (ignoreServerPacket) {
|
||||
overwriteLocalData = false;
|
||||
|
|
Loading…
Reference in a new issue