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/application.cc | |
parent | 5c734fe66e9ace93c03937adc2fc56336fb474fb (diff) |
sv_framerate and cl_framerate
Diffstat (limited to 'src/core/application.cc')
-rw-r--r-- | src/core/application.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/application.cc b/src/core/application.cc index 7d6f62a..358c655 100644 --- a/src/core/application.cc +++ b/src/core/application.cc @@ -263,12 +263,12 @@ void Application::frame(float seconds) // execute commands in the buffer CommandBuffer::exec(); + application_time += seconds; + // don't run zero lenght time frames if (seconds == 0.0f) return; - application_time += seconds; - if (!connected()) return; |