diff options
Diffstat (limited to 'frontend/load_dungeon.cpp')
| -rw-r--r-- | frontend/load_dungeon.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/frontend/load_dungeon.cpp b/frontend/load_dungeon.cpp index ef8cb54..e94cbcb 100644 --- a/frontend/load_dungeon.cpp +++ b/frontend/load_dungeon.cpp @@ -65,7 +65,7 @@ unique_ptr<Dungeon> load_dungeon(const string & filename) {  	// connect edges after creating all locations  	for (auto & [here, temp] : temp_map) { -		for (Direction direction : { NORTH, EAST, SOUTH, WEST }) { +		for (Direction direction : DIRECTIONS) {  			unsigned there = temp.edges[direction];  			if (temp.edges[direction] == 0) continue;  			if (!temp_map.contains(there)) continue; |