Hyperspace saving crash which was introduced by previous patches, fixed
(from slayne) git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@332 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1221,7 +1221,8 @@ DoFlagshipCommands (INPUT_STATE InputState, PMENU_STATE pMS)
|
|||||||
if (GameOptions () == 0)
|
if (GameOptions () == 0)
|
||||||
return (FALSE);
|
return (FALSE);
|
||||||
|
|
||||||
|
if (LOBYTE (GLOBAL(CurrentActivity)) == IN_INTERPLANETARY)
|
||||||
|
{
|
||||||
ClearSISRect(DRAW_SIS_DISPLAY);
|
ClearSISRect(DRAW_SIS_DISPLAY);
|
||||||
DrawSISFrame();
|
DrawSISFrame();
|
||||||
RepairSISBorder();
|
RepairSISBorder();
|
||||||
@@ -1236,6 +1237,7 @@ DoFlagshipCommands (INPUT_STATE InputState, PMENU_STATE pMS)
|
|||||||
UnbatchGraphics();
|
UnbatchGraphics();
|
||||||
SetContext(OldContext);
|
SetContext(OldContext);
|
||||||
ClearSemaphore(GraphicsSem);
|
ClearSemaphore(GraphicsSem);
|
||||||
|
}
|
||||||
// else
|
// else
|
||||||
// DrawMenuStateStrings (PM_SCAN, ROSTER + 1);
|
// DrawMenuStateStrings (PM_SCAN, ROSTER + 1);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user