SCI: Enable the save game menu option when dying in PQ2 - bug #6875
This uses the same hack as the one used to reset the menus in Jones. I've tested some more SCI games, and they don't disable menu entries when loading a game. Hopefully, Jones and PQ2 are the only ones
This commit is contained in:
parent
6546882b4f
commit
fc1464155a
1 changed files with 4 additions and 0 deletions
|
@ -933,6 +933,10 @@ reg_t kRestoreGame(EngineState *s, int argc, reg_t *argv) {
|
|||
g_sci->_gfxMenu->kernelSetAttribute(1025 >> 8, 1025 & 0xFF, SCI_MENU_ATTRIBUTE_ENABLED, TRUE_REG); // Status -> Statistics
|
||||
g_sci->_gfxMenu->kernelSetAttribute(1026 >> 8, 1026 & 0xFF, SCI_MENU_ATTRIBUTE_ENABLED, TRUE_REG); // Status -> Goals
|
||||
break;
|
||||
case GID_PQ2:
|
||||
// HACK: Same as above - enable the save game menu option when dying in PQ2 (bug #6875)
|
||||
g_sci->_gfxMenu->kernelSetAttribute(2, 1, SCI_MENU_ATTRIBUTE_ENABLED, TRUE_REG); // Game -> Save Game
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue