diff options
Diffstat (limited to 'src/gui/interface')
| -rw-r--r-- | src/gui/interface/Engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/interface/Engine.cpp b/src/gui/interface/Engine.cpp index 6911c25..29fd5aa 100644 --- a/src/gui/interface/Engine.cpp +++ b/src/gui/interface/Engine.cpp @@ -247,7 +247,7 @@ void Engine::SetFps(float fps) { this->fps = fps; if(FpsLimit > 2.0f) - this->dt = FpsLimit/fps; + this->dt = 60/fps; else this->dt = 1.0f; } |
