From 7467db8061c8650fd7651a6260fd6e52b08efb53 Mon Sep 17 00:00:00 2001 From: dgengin Date: Sat, 9 Jan 2021 11:19:09 +0000 Subject: [PATCH] - hide automap by default --- src/Game/Level.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Game/Level.cpp b/src/Game/Level.cpp index 2dd07e53..013118c2 100755 --- a/src/Game/Level.cpp +++ b/src/Game/Level.cpp @@ -20,13 +20,13 @@ void Level::Init(const Game& game, LevelMap map_, surface.blockWidth = surface.tileWidth / 2; surface.blockHeight = surface.tileHeight / 2; surface.subTiles = std::clamp(subTiles, 1u, 8u); - surface.visible = true; automapSurface.tileWidth = surface.tileWidth; automapSurface.tileHeight = surface.tileHeight; automapSurface.blockWidth = surface.blockWidth; automapSurface.blockHeight = surface.blockHeight; automapSurface.subTiles = surface.subTiles; + automapSurface.visible = false; levelLayers.clear(); for (const auto& layer : levelLayers_)