aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-23 00:15:02 +0200
committerEugene Sandulenko2019-09-03 17:17:26 +0200
commitf94d1532758ab8fe2bb8e48f82792055c8b699b3 (patch)
treedf7febd0734f4a22ab82b3ff2077ec8118459cc0
parent312ebf6aaff590cf3a5c66d8064bb7fc88ec95cf (diff)
downloadscummvm-rg350-f94d1532758ab8fe2bb8e48f82792055c8b699b3.tar.gz
scummvm-rg350-f94d1532758ab8fe2bb8e48f82792055c8b699b3.tar.bz2
scummvm-rg350-f94d1532758ab8fe2bb8e48f82792055c8b699b3.zip
HDB: Fix secret stars level launching
-rw-r--r--engines/hdb/menu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/hdb/menu.cpp b/engines/hdb/menu.cpp
index 83bfdbd88b..8c354fa409 100644
--- a/engines/hdb/menu.cpp
+++ b/engines/hdb/menu.cpp
@@ -1101,7 +1101,7 @@ void Menu::processInput(int x, int y) {
g_hdb->saveGameState(kAutoSaveSlot, "FIXME"); // Add here date/level name // TODO
_starWarp = 0;
g_hdb->_sound->playSound(SND_MONKEYSTONE_SECRET_STAR);
- g_hdb->startMap("map30");
+ g_hdb->startMap("MAP30");
} else if (x >= kStarGreenX && x <= kStarGreenX + _starGreenGfx[0]->_width &&
y >= kStarGreenY && y <= kStarGreenY + _starGreenGfx[0]->_height &&
g_hdb->getStarsMonkeystone14() == STARS_MONKEYSTONE_14) {
@@ -1111,7 +1111,7 @@ void Menu::processInput(int x, int y) {
g_hdb->saveGameState(kAutoSaveSlot, "FIXME"); // Add here date/level name // TODO
_starWarp = 1;
g_hdb->_sound->playSound(SND_MONKEYSTONE_SECRET_STAR);
- g_hdb->startMap("map30");
+ g_hdb->startMap("MAP30");
} else if (x >= kStarBlueX && x <= kStarBlueX + _starBlueGfx[0]->_width &&
y >= kStarBlueY && y <= kStarBlueY + _starBlueGfx[0]->_height &&
@@ -1122,7 +1122,7 @@ void Menu::processInput(int x, int y) {
g_hdb->saveGameState(kAutoSaveSlot, "FIXME"); // Add here date/level name // TODO
_starWarp = 2;
g_hdb->_sound->playSound(SND_MONKEYSTONE_SECRET_STAR);
- g_hdb->startMap("map30");
+ g_hdb->startMap("MAP30");
}
}
// secret warp menu? (click on nebula!)