From f25b03fdc0d0cdb10e115b225778600a8a678b81 Mon Sep 17 00:00:00 2001 From: przemek83 <4788832+przemek83@users.noreply.github.com> Date: Thu, 3 Oct 2024 09:10:46 +0200 Subject: [PATCH] Init values in Config header. --- src/Config.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Config.h b/src/Config.h index 7e8b65b..ef36c45 100644 --- a/src/Config.h +++ b/src/Config.h @@ -48,10 +48,10 @@ class Config const int tileCount_{20}; static constexpr int defaultTileSize_{30}; int tileSize_{defaultTileSize_}; - int bulletSize_{}; - int boardWidth_{}; - int boardHeight_{}; - int statusWidth_{}; - float speedFactor_{}; + int bulletSize_{0}; + int boardWidth_{0}; + int boardHeight_{0}; + int statusWidth_{0}; + float speedFactor_{0}; const std::chrono::seconds fireDelay_{2}; };