aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-05-03 20:14:34 +0200
committersfan5 <sfan5@live.de>2022-05-03 20:17:43 +0200
commit71a56c355223aa45a980c16329c88ba9ec8b3354 (patch)
treeef0b72a759e447a29ed4e99ca6b44eefa1b75a1e /src
parente7659883cc6fca343785da2a1af3890ae273abbf (diff)
downloadminetest-71a56c355223aa45a980c16329c88ba9ec8b3354.tar.gz
minetest-71a56c355223aa45a980c16329c88ba9ec8b3354.tar.bz2
minetest-71a56c355223aa45a980c16329c88ba9ec8b3354.zip
Fix broken FPS/dtime counters in debug info
was broken by a89afe1229e327da3c397a3912b2d43d2196ea2b
Diffstat (limited to 'src')
-rw-r--r--src/client/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp
index d21bdbe99..e0e60eb2c 100644
--- a/src/client/game.cpp
+++ b/src/client/game.cpp
@@ -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;