From efd594993d7903185d3d20738a9f875e543b3328 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 21 Aug 2018 19:24:25 -0700 Subject: TSAGE: Don't allow saving in Ringworld copy protection dialog --- engines/tsage/ringworld/ringworld_logic.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'engines/tsage') 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; } /*--------------------------------------------------------------------------*/ -- cgit v1.2.3