From 160ba62230a88f589e91322655e1d85d53589289 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 31 Jul 2008 20:05:06 +0000 Subject: faster dust calculations --- src/client/client.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/client') 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; -- cgit v1.2.3