diff options
author | Paul Gilbert | 2018-08-21 19:24:25 -0700 |
---|---|---|
committer | Paul Gilbert | 2018-08-21 19:24:25 -0700 |
commit | efd594993d7903185d3d20738a9f875e543b3328 (patch) | |
tree | abbaa6b6e36cdbfe6aec22df82c484b09be1857c /engines/tsage | |
parent | 3ba76e354a56651fe5d7b72c88aa57db18d6f41c (diff) | |
download | scummvm-rg350-efd594993d7903185d3d20738a9f875e543b3328.tar.gz scummvm-rg350-efd594993d7903185d3d20738a9f875e543b3328.tar.bz2 scummvm-rg350-efd594993d7903185d3d20738a9f875e543b3328.zip |
TSAGE: Don't allow saving in Ringworld copy protection dialog
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/ringworld/ringworld_logic.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/tsage/ringworld/ringworld_logic.cpp b/engines/tsage/ringworld/ringworld_logic.cpp index 354c86abfc..c656bafc9c 100644 --- a/engines/tsage/ringworld/ringworld_logic.cpp +++ b/engines/tsage/ringworld/ringworld_logic.cpp @@ -198,15 +198,14 @@ Scene *RingworldGame::createScene(int sceneNumber) { bool RingworldGame::canLoadGameStateCurrently() { // Don't allow a game to be loaded if a dialog is active return !g_globals->getFlag(50) && (g_globals->_gfxManagers.size() == 1); - } /** * Returns true if it is currently okay to save the game */ bool RingworldGame::canSaveGameStateCurrently() { - // Don't allow a game to be saved if a dialog is active - return !g_globals->getFlag(50) && (g_globals->_gfxManagers.size() == 1); + // Don't allow a game to be saved if a dialog is active, or the copy protection dialog + return !g_globals->getFlag(50) && (g_globals->_gfxManagers.size() == 1) && g_globals->_sceneManager._sceneNumber != 2310; } /*--------------------------------------------------------------------------*/ |