summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-15 02:16:54 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-15 02:16:54 +0300
commit25adf485cd4eae706ad0d49c05f247e935e8d267 (patch)
tree70f078c0668fe8e6527c3374708331bac7591076 /src/map.cpp
parent9aefc65b5f9802568c814f9768577e045b513f29 (diff)
downloadManaVerse-25adf485cd4eae706ad0d49c05f247e935e8d267.tar.gz
ManaVerse-25adf485cd4eae706ad0d49c05f247e935e8d267.tar.bz2
ManaVerse-25adf485cd4eae706ad0d49c05f247e935e8d267.tar.xz
ManaVerse-25adf485cd4eae706ad0d49c05f247e935e8d267.zip
Fix code style.
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