mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 06:17:38 +02:00
Timing fix.
This commit is contained in:
parent
02cf1f006e
commit
5636171836
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ void MetavoxelServer::sendDeltas() {
|
|||
int elapsed = now - _lastSend;
|
||||
_lastSend = now;
|
||||
|
||||
_sendTimer.start(qMax(0, 2 * SEND_INTERVAL - elapsed));
|
||||
_sendTimer.start(qMax(0, 2 * SEND_INTERVAL - qMax(elapsed, SEND_INTERVAL)));
|
||||
}
|
||||
|
||||
MetavoxelSession::MetavoxelSession(const SharedNodePointer& node, MetavoxelServer* server) :
|
||||
|
|
Loading…
Reference in a new issue