Menu-Cancel will now quit out of the Manifest Menu (Bug #838)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2675 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -430,6 +430,16 @@ DoMenuChooser (PMENU_STATE pMS, BYTE BaseState)
|
||||
}
|
||||
return (FALSE);
|
||||
}
|
||||
else if ((optWhichMenu == OPT_PC) && PulsedInputState.menu[KEY_MENU_CANCEL] &&
|
||||
(BaseState == PM_ALT_CARGO))
|
||||
{
|
||||
if (OrigBase == PM_SCAN)
|
||||
DrawMenuStateStrings (PM_ALT_SCAN, PM_ALT_MANIFEST - PM_ALT_SCAN);
|
||||
else
|
||||
DrawMenuStateStrings (PM_ALT_STARMAP, PM_ALT_MANIFEST - PM_ALT_STARMAP);
|
||||
pMS->CurState = ALT_MANIFEST;
|
||||
return (TRUE);
|
||||
}
|
||||
else
|
||||
return (FALSE);
|
||||
DrawMenuStateStrings (BaseState, NewState);
|
||||
|
||||
Reference in New Issue
Block a user