summaryrefslogtreecommitdiff
path: root/src/gui/interface/Engine.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-05-12 01:43:52 (GMT)
committer jacob1 <jfu614@gmail.com>2013-05-12 01:43:52 (GMT)
commit9d89d4b79b26584490e55cfb992fc58d3e11ea2b (patch)
tree4564d725ae9def30ee6d2128b67592fd7aaddfdd /src/gui/interface/Engine.cpp
parent67e1213905edbd248ef4d434c3e5e53c151828a7 (diff)
downloadpowder-9d89d4b79b26584490e55cfb992fc58d3e11ea2b.zip
powder-9d89d4b79b26584490e55cfb992fc58d3e11ea2b.tar.gz
fix tooltips and dt
Diffstat (limited to 'src/gui/interface/Engine.cpp')
-rw-r--r--src/gui/interface/Engine.cpp2
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;
}