From 27345ec20eebccd070287b89cdefb4e4381af5cf Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 23 Feb 2008 19:48:13 +0000 Subject: sv_framerate and cl_framerate --- src/core/gameconnection.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/gameconnection.cc') diff --git a/src/core/gameconnection.cc b/src/core/gameconnection.cc index 07a27a6..4c31f78 100644 --- a/src/core/gameconnection.cc +++ b/src/core/gameconnection.cc @@ -94,6 +94,7 @@ void GameConnection::frame(float seconds) connection_frametime += seconds; f = 1.0f / core::Cvar::sv_framerate->value(); if (connection_frametime < f) { + /* // run client prediction std::map::iterator it; for (it=Entity::registry.begin(); it != Entity::registry.end(); it++) { @@ -102,6 +103,7 @@ void GameConnection::frame(float seconds) entity->frame(seconds); } } + */ return; } } else { -- cgit v1.2.3