diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-12 21:33:28 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-12 21:33:28 +0000 |
commit | 599adb817e19d9be3502e501dc904c7255cd616c (patch) | |
tree | 7923cd387021369510ed89960dddb8eb5c16add6 /src/core/gameconnection.cc | |
parent | 5ceb4694a05ec68b5cfba18b0f25ba804be88a80 (diff) |
color and info updates
Diffstat (limited to 'src/core/gameconnection.cc')
-rw-r--r-- | src/core/gameconnection.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/gameconnection.cc b/src/core/gameconnection.cc index e77a3d8..1d022c5 100644 --- a/src/core/gameconnection.cc +++ b/src/core/gameconnection.cc @@ -97,8 +97,8 @@ void GameConnection::frame(float seconds) connection_frametime += seconds; float f = 0; - if (core::Cvar::sv_framerate->value()) { - f = 0.5f / core::Cvar::sv_framerate->value(); + if (core::Cvar::net_framerate->value()) { + f = 0.5f / core::Cvar::net_framerate->value(); if (connection_frametime < f) { return; } |