src/sound.cpp
changeset 9542 bc9789270025
parent 9390 88d36f907e96
child 10039 1f236afd6cd1
--- a/src/sound.cpp	Tue Jun 17 16:33:55 2008 +0000
+++ b/src/sound.cpp	Tue Jun 17 17:25:22 2008 +0000
@@ -167,7 +167,7 @@
 
 
 static const byte _vol_factor_by_zoom[] = {255, 190, 134, 87};
-assert_compile(lengthof(_vol_factor_by_zoom) == ZOOM_LVL_END - ZOOM_LVL_BEGIN);
+assert_compile(lengthof(_vol_factor_by_zoom) == ZOOM_LVL_COUNT);
 
 static const byte _sound_base_vol[] = {
 	128,  90, 128, 128, 128, 128, 128, 128,