diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-10 10:19:16 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-10 10:19:16 +0000 |
commit | 930db4020b9af2ccd999cb3a8c980cc9d527f8cf (patch) | |
tree | 1767c67dbe94615c02d529f3ed04e614cb948921 /src/core/gameconnection.cc | |
parent | 421fc71813f08bfe359f9ac7596933a7e4cea6e0 (diff) |
client-side axis interpolation
Diffstat (limited to 'src/core/gameconnection.cc')
-rw-r--r-- | src/core/gameconnection.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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; } } |