diff options
author | Filippos Karapetis | 2008-04-04 13:28:53 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-04-04 13:28:53 +0000 |
commit | f83e93e6d8e8ff58a2fb3b1df7c93e4fb7c8af2d (patch) | |
tree | ef192f25ccfb4dda69d8ddabd6529b87dc204ccc | |
parent | 74f80acbf09bbefca149d9db648effd7b3114c54 (diff) | |
download | scummvm-rg350-f83e93e6d8e8ff58a2fb3b1df7c93e4fb7c8af2d.tar.gz scummvm-rg350-f83e93e6d8e8ff58a2fb3b1df7c93e4fb7c8af2d.tar.bz2 scummvm-rg350-f83e93e6d8e8ff58a2fb3b1df7c93e4fb7c8af2d.zip |
Also hooked the death menu quit button to the game quit code implemented in rev #31376
svn-id: r31382
-rw-r--r-- | engines/kyra/staticres.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp index 2bdf2028ab..c4acdcc5e8 100644 --- a/engines/kyra/staticres.cpp +++ b/engines/kyra/staticres.cpp @@ -1571,6 +1571,7 @@ void GUI_v2::initStaticData() { GUI_V2_MENU_ITEM(_deathMenu.item[0], 1, 2, -1, 0x1E, 0xB4, 0x0F, 0xFC, 0xFD, 8, 0xF8, 0xF9, 0xFA, -1, 0, 0, 0, 0); _deathMenu.item[0].callback = clickLoadMenuFunctor; GUI_V2_MENU_ITEM(_deathMenu.item[1], 1, 5, -1, 0x2F, 0xB4, 0x0F, 0xFC, 0xFD, 8, 0xF8, 0xF9, 0xFA, -1, 0, 0, 0, 0); + _deathMenu.item[1].callback = BUTTON_FUNCTOR(GUI_v2, this, &GUI_v2::quitGame); for (int i = 2; i <= 6; ++i) _deathMenu.item[i].enabled = false; for (int i = 0; i < 2; ++i) |