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-07-31 20:05:06 +0000
committerStijn Buys <ingar@osirion.org>2008-07-31 20:05:06 +0000
commit160ba62230a88f589e91322655e1d85d53589289 (patch)
tree0aa299408c4a23c7870b4a5d5d503fc9cc90f3cd /src/client
parent5bffd2fc4ee4ba30a28351d4bf4986d520a27efa (diff)
faster dust calculations
Diffstat (limited to 'src/client')
-rw-r--r--src/client/client.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/client.cc b/src/client/client.cc
index ede6b29..f5da1f0 100644
--- a/src/client/client.cc
+++ b/src/client/client.cc
@@ -92,8 +92,6 @@ void Client::init(int count, char **arguments)
cl_framerate = core::Cvar::get("cl_framerate", "125", core::Cvar::Archive);
cl_framerate->set_info("[int] client framerate in frames/sec");
- cl_frametime = core::Cvar::set("cl_frametime", "8", core::Cvar::ReadOnly);
- cl_frametime->set_info("[int] current minimal length of one frame, in milliseconds (read-only)");
// initialize SDL, but do not initialize any subsystems
SDL_Init(0);
@@ -146,7 +144,6 @@ void Client::run()
} else {
client_frame_lenght = 0;
}
- (*cl_frametime) = (float) client_frame_lenght;
// only advance per microsecond frame
Uint32 d = client_current_timestamp - client_previous_timestamp;