aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular/menu_nebular.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-01-17 20:51:52 -0500
committerPaul Gilbert2015-01-17 20:51:52 -0500
commit926404bd10309e98d353acd5515c678234de28aa (patch)
treefb9aba5a94a315acdf685bd7429ff1947532d7fa /engines/mads/nebular/menu_nebular.cpp
parent9b8fa20c7610567475c5b41678d41fa618adc49e (diff)
downloadscummvm-rg350-926404bd10309e98d353acd5515c678234de28aa.tar.gz
scummvm-rg350-926404bd10309e98d353acd5515c678234de28aa.tar.bz2
scummvm-rg350-926404bd10309e98d353acd5515c678234de28aa.zip
MADS: Renamings of Layer and a transition type
Diffstat (limited to 'engines/mads/nebular/menu_nebular.cpp')
-rw-r--r--engines/mads/nebular/menu_nebular.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/nebular/menu_nebular.cpp b/engines/mads/nebular/menu_nebular.cpp
index 28de4e5650..2fdef3443d 100644
--- a/engines/mads/nebular/menu_nebular.cpp
+++ b/engines/mads/nebular/menu_nebular.cpp
@@ -86,7 +86,7 @@ void MainMenu::display() {
frame0->_offset.y - frame0->h);
screenObjects.add(
Common::Rect(pt.x, pt.y + DIALOG_TOP, pt.x + frame0->w,
- pt.y + frame0->h + DIALOG_TOP), LAYER_GUI, CAT_COMMAND, i);
+ pt.y + frame0->h + DIALOG_TOP), SCREENMODE_VGA, CAT_COMMAND, i);
}
// Set the cursor for when it's shown
@@ -292,7 +292,7 @@ bool MainMenu::onEvent(Common::Event &event) {
}
int MainMenu::getHighlightedItem(const Common::Point &pt) {
- return _vm->_game->_screenObjects.scan(pt, LAYER_GUI) - 1;
+ return _vm->_game->_screenObjects.scan(pt, SCREENMODE_VGA) - 1;
}
void MainMenu::unhighlightItem() {