summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-10-18 10:36:52 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-10-18 10:36:52 +0300
commiteae2d35ca568ccb652169f83e6a995db273fba94 (patch)
tree63debb193ba830bb226355417db8a5a1ab75c519 /src/game.cpp
parent85002883bd7c2e36613b55b8bec885ce37c3bf18 (diff)
downloadminetest-eae2d35ca568ccb652169f83e6a995db273fba94.tar.gz
minetest-eae2d35ca568ccb652169f83e6a995db273fba94.tar.bz2
minetest-eae2d35ca568ccb652169f83e6a995db273fba94.zip
Fix client profiler print interval
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 92d4a2ae4..645d73612 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1177,7 +1177,7 @@ void the_game(
print_to_log = false;
profiler_print_interval = 5;
}
- if(m_profiler_interval.step(0.030, profiler_print_interval))
+ if(m_profiler_interval.step(dtime, profiler_print_interval))
{
if(print_to_log){
infostream<<"Profiler:"<<std::endl;