Skip to content

Commit

Permalink
Do not show continue option in debug mode.
Browse files Browse the repository at this point in the history
If a player failed a mission in debug mode the continue
option would simply do nothing. Instead, show the "quit to main menu"
and "load saved game" options like it does when not in debug mode.

Fixes ticket:4687.
  • Loading branch information
KJeff01 committed Dec 26, 2017
1 parent 9de4965 commit 1595dec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mission.cpp
Expand Up @@ -2296,8 +2296,8 @@ static bool _intAddMissionResult(bool result, bool bPlaySuccess, bool showBackDr
sButInit.width = MISSION_TEXT_W;
sButInit.height = MISSION_TEXT_H;
sButInit.pDisplay = displayTextOption;
// If won or in debug mode
if (result || getDebugMappingStatus() || bMultiPlayer)
//if won
if (result || bMultiPlayer)
{
//continue
sButInit.x = MISSION_2_X;
Expand Down

0 comments on commit 1595dec

Please sign in to comment.