Skip to content
Permalink
Browse files

Disable being shown the option to save at the end of the mission (in …

…the mission summary screen), this is a work around for a flaw in the level loading code in some levels. Also disable autosaves, for the same problem. refs #3377
  • Loading branch information...
vexed committed Apr 2, 2012
1 parent 8411702 commit 62da559ebe7fbb0ede9592b4b5d9382fecd9ef09
Showing with 6 additions and 2 deletions.
  1. +6 −2 src/mission.cpp
@@ -2468,9 +2468,12 @@ static bool _intAddMissionResult(bool result, bool bPlaySuccess)
widgAddButton(psWScreen, &sButInit);
}

// FIXME, We got serious issues with savegames at the *END* of some missions, and while they
// will load, they don't have the correct state information or other settings.
// See transition from CAM2->CAM3 for a example.
/* Only add save option if in the game for real, ie, not fastplay.
* And the player hasn't just completed the whole game
* Don't add save option if just lost and in debug mode. */
* And the player hasn't just completed the whole game
* Don't add save option if just lost and in debug mode.
if (!bMultiPlayer && !testPlayerHasWon() && !(testPlayerHasLost() && getDebugMappingStatus()))
{
//save
@@ -2483,6 +2486,7 @@ static bool _intAddMissionResult(bool result, bool bPlaySuccess)
// automatically save the game to be able to restart a mission
saveGame((char *)"savegames/Autosave.gam", GTYPE_SAVE_START);
}
*/
}
else
{

0 comments on commit 62da559

Please sign in to comment.
You can’t perform that action at this time.