Skip to content

Commit

Permalink
- hide automap by default
Browse files Browse the repository at this point in the history
  • Loading branch information
dgengin committed Jan 9, 2021
1 parent da93575 commit 7467db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Game/Level.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_)
Expand Down

0 comments on commit 7467db8

Please sign in to comment.