diff options
Diffstat (limited to 'sky')
-rw-r--r-- | sky/compact.cpp | 6 |
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); |