aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
th Floor, Boston, MA 02110-1301 USA. */ #include "test.h" #include "exceptions.h" #include "remoteplayer.h" #include "content_sao.h" #include "server.h" class TestPlayer : public TestBase { public: TestPlayer() { TestManager::registerTestModule(this); } const char *getName() { return "TestPlayer"; } void runTests(IGameDef *gamedef); }; static TestPlayer g_test_instance; void TestPlayer::runTests(IGameDef *gamedef) { }