From 930db4020b9af2ccd999cb3a8c980cc9d527f8cf Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 10 May 2008 10:19:16 +0000 Subject: client-side axis interpolation --- src/core/gameconnection.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/gameconnection.cc') diff --git a/src/core/gameconnection.cc b/src/core/gameconnection.cc index b5ac27d..c86a0ae 100644 --- a/src/core/gameconnection.cc +++ b/src/core/gameconnection.cc @@ -102,9 +102,7 @@ void GameConnection::frame(float seconds) if (connection_frametime < f) { return; } - } - - connection_frametime = 0; + } if (localcontrol() && localcontrol()->dirty()) { std::ostringstream netmsg; @@ -129,6 +127,8 @@ void GameConnection::frame(float seconds) } connection_network->transmit(); + + connection_frametime = 0; } } -- cgit v1.2.3