diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-10-18 10:36:52 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-10-18 10:36:52 +0300 |
commit | eae2d35ca568ccb652169f83e6a995db273fba94 (patch) | |
tree | 63debb193ba830bb226355417db8a5a1ab75c519 | |
parent | 85002883bd7c2e36613b55b8bec885ce37c3bf18 (diff) | |
download | minetest-eae2d35ca568ccb652169f83e6a995db273fba94.tar.gz minetest-eae2d35ca568ccb652169f83e6a995db273fba94.tar.bz2 minetest-eae2d35ca568ccb652169f83e6a995db273fba94.zip |
Fix client profiler print interval
-rw-r--r-- | src/game.cpp | 2 |
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; |