Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-05-11 08:39:40 +0000
committerStijn Buys <ingar@osirion.org>2008-05-11 08:39:40 +0000
commitfb227d62e699ebaea6e428f570bedc684873f15b (patch)
tree8a2a8e9ee4681479bcbd4828bdf7d6f76d5a1be1 /src/core/gameserver.cc
parent17e9ce54ee3972b9804174b874652ec0856efcd0 (diff)
fix movement in local game, fix camera cockpit mode offset
Diffstat (limited to 'src/core/gameserver.cc')
-rw-r--r--src/core/gameserver.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/gameserver.cc b/src/core/gameserver.cc
index 3e5241e..5064ccd 100644
--- a/src/core/gameserver.cc
+++ b/src/core/gameserver.cc
@@ -245,6 +245,7 @@ void GameServer::frame(float seconds)
return;
server_time += seconds;
+ server_frametime += seconds;
// process incoming network messages
if (server_network) {
@@ -263,8 +264,6 @@ void GameServer::frame(float seconds)
update_clientstate(seconds);
}
- server_frametime += seconds;
-
if ((Cvar::sv_dedicated->value() || Cvar::sv_private->value())) {
if (core::Cvar::sv_framerate->value()) {
float f = 1.0f / core::Cvar::sv_framerate->value();