diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-23 19:48:13 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-23 19:48:13 +0000 |
commit | 27345ec20eebccd070287b89cdefb4e4381af5cf (patch) | |
tree | f9895df6737052287e6a8d83de0416d7cba26f2b /src/core/gameconnection.cc | |
parent | 5c734fe66e9ace93c03937adc2fc56336fb474fb (diff) |
sv_framerate and cl_framerate
Diffstat (limited to 'src/core/gameconnection.cc')
-rw-r--r-- | src/core/gameconnection.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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<unsigned int, Entity *>::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 { |