summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 516ae833c..505830db8 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -583,10 +583,7 @@ void Map::drawAmbientLayers(Graphics *graphics, LayerType type,
layers = &mBackgrounds;
break;
default:
- // New type of ambient layers added here without adding it
- // to Map::drawAmbientLayers.
- assert(false);
- break;
+ return;
}
// Draw overlays