diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-24 18:00:25 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-24 18:00:25 +0000 |
commit | ffd014db9265de5e23672476f334b2a2d53bec3e (patch) | |
tree | ab1cc3c59dc05f7d87fc255273e5cc4f480b2758 /src/client/client.cc | |
parent | 27345ec20eebccd070287b89cdefb4e4381af5cf (diff) |
fix chat spacebar bug, minor updates
Diffstat (limited to 'src/client/client.cc')
-rw-r--r-- | src/client/client.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/client.cc b/src/client/client.cc index a25b958..c93a0dc 100644 --- a/src/client/client.cc +++ b/src/client/client.cc @@ -92,7 +92,7 @@ void Client::init() // client variables core::Cvar::get("cl_name", "Player", core::Cvar::Archive); core::Cvar::get("cl_color", "1.0 1.0 1.0", core::Cvar::Archive); - cl_framerate = core::Cvar::get("cl_framerate", "0"); + cl_framerate = core::Cvar::get("cl_framerate", "120", core::Cvar::Archive); // initialize SDL, but do not initialize any subsystems SDL_Init(0); @@ -118,8 +118,6 @@ void Client::run() { con_print << "Running client..." << std::endl; - - Uint32 client_framerate = (Uint32)(1000/120); Uint32 elapsed = 0; |