From 25477c2cf89cd4cf978b29d89d2053f72c5dabd3 Mon Sep 17 00:00:00 2001 From: Peisong Xiao Date: Sat, 20 Jul 2024 22:04:39 -0400 Subject: [PATCH] renamed default_map to DEFAULT_MAP --- src/game.cc | 2 +- src/map.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game.cc b/src/game.cc index 7b92269..4cf5210 100644 --- a/src/game.cc +++ b/src/game.cc @@ -37,7 +37,7 @@ void game::new_level() { levels.push_back(std::make_unique(player.get(), rng, enabled_features)); else - levels.push_back(std::make_unique(default_map, player.get(), + levels.push_back(std::make_unique(DEFAULT_MAP, player.get(), rng, enabled_features)); } diff --git a/src/map.h b/src/map.h index e0e5ba1..570e036 100644 --- a/src/map.h +++ b/src/map.h @@ -111,7 +111,7 @@ private: room get_room(std::size_t idx) const; }; -const std::string default_map = +const std::string DEFAULT_MAP = "|-----------------------------------------------------------------------------|\ | |\ | |--------------------------| |-----------------------| |\