aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorOliver Kiehl2003-05-26 19:59:38 +0000
committerOliver Kiehl2003-05-26 19:59:38 +0000
commit4baf74d6a074bd383eb92b30da7fe93490ed6bbe (patch)
tree7ce43cbad4ca556b59cf5a1df00985cb946630ae /sky
parentc2ea35fe07fd568487f669e1d57941fb1bc5bc4e (diff)
downloadscummvm-rg350-4baf74d6a074bd383eb92b30da7fe93490ed6bbe.tar.gz
scummvm-rg350-4baf74d6a074bd383eb92b30da7fe93490ed6bbe.tar.bz2
scummvm-rg350-4baf74d6a074bd383eb92b30da7fe93490ed6bbe.zip
*sigh*
svn-id: r8017
Diffstat (limited to 'sky')
-rw-r--r--sky/compact.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sky/compact.cpp b/sky/compact.cpp
index 4d75548ada..d73616d893 100644
--- a/sky/compact.cpp
+++ b/sky/compact.cpp
@@ -54,11 +54,11 @@ MegaSet *getMegaSet(Compact *cpt, uint16 megaSet) {
switch (megaSet) {
case 0:
return cpt->extCompact->megaSet0;
- case 1 + NEXT_MEGA_SET:
+ case NEXT_MEGA_SET:
return cpt->extCompact->megaSet1;
- case 2 + NEXT_MEGA_SET*2:
+ case NEXT_MEGA_SET*2:
return cpt->extCompact->megaSet2;
- case 3 + NEXT_MEGA_SET*3:
+ case NEXT_MEGA_SET*3:
return cpt->extCompact->megaSet3;
default:
error("Invalid MegaSet (%d)", megaSet);