From a3b959cee942d0cda976ba0d9c3e6b4264975f6c Mon Sep 17 00:00:00 2001 From: hiker Date: Mon, 30 Jan 2017 08:58:00 +1100 Subject: [PATCH] Avoid that the server replays states saved in the previous frame. --- src/network/rewind_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/rewind_manager.cpp b/src/network/rewind_manager.cpp index 154a40082..1412601f0 100755 --- a/src/network/rewind_manager.cpp +++ b/src/network/rewind_manager.cpp @@ -255,7 +255,7 @@ void RewindManager::playEventsTill(float time) if(ri->isEvent()) ri->rewind(); - else if (ri->isState()) + else if (ri->isState() && NetworkConfig::get()->isClient()) { Log::warn("RewindManager", "Client has received state in the future: at %f state %f",