]> git.lizzy.rs Git - minetest.git/commitdiff
Fix broken FPS/dtime counters in debug info
authorsfan5 <sfan5@live.de>
Tue, 3 May 2022 18:14:34 +0000 (20:14 +0200)
committersfan5 <sfan5@live.de>
Tue, 3 May 2022 18:17:43 +0000 (20:17 +0200)
was broken by a89afe1229e327da3c397a3912b2d43d2196ea2b

src/client/game.cpp

index d21bdbe991b1a7576a62090339183f2f5ab3ca7a..e0e60eb2c8b3df28418c7b5e621a2fafc2b00fae 100644 (file)
@@ -1063,7 +1063,7 @@ bool Game::startup(bool *kill,
 void Game::run()
 {
        ProfilerGraph graph;
-       RunStats stats;
+       RunStats stats = {};
        CameraOrientation cam_view_target = {};
        CameraOrientation cam_view = {};
        FpsControl draw_times;