Fix client profiler print interval
authorPerttu Ahola <celeron55@gmail.com>
Tue, 18 Oct 2011 07:36:52 +0000 (10:36 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Tue, 18 Oct 2011 07:36:52 +0000 (10:36 +0300)
src/game.cpp

index 92d4a2ae490601d1b101e729763a75e21a311786..645d736125d6a755a0155bdd3141d6476f4d092b 100644 (file)
@@ -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;