From: Perttu Ahola Date: Tue, 18 Oct 2011 07:36:52 +0000 (+0300) Subject: Fix client profiler print interval X-Git-Tag: 0.3.dev-20111021~15 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eae2d35ca568ccb652169f83e6a995db273fba94;p=oweals%2Fminetest.git Fix client profiler print interval --- 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:"<