From d314432664bb16c1804bed574a7c0dd22e9c2923 Mon Sep 17 00:00:00 2001 From: x-qq Date: Tue, 11 Feb 2020 15:34:29 +0200 Subject: [PATCH] fix uninitialized debug flags in universe --- src/universe/universe.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/universe/universe.hpp b/src/universe/universe.hpp index 3321c53f..299a8ccc 100644 --- a/src/universe/universe.hpp +++ b/src/universe/universe.hpp @@ -202,7 +202,9 @@ public: cCurTown town; cCurOut out; fs::path file; - bool debug_mode, ghost_mode, node_step_through; + bool debug_mode { false }; + bool ghost_mode { false }; + bool node_step_through { false }; void clear_stored_pcs(); void import_legacy(legacy::stored_town_maps_type& old);