Repaired main menu controls, updated TODO

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@189 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2002-10-31 06:15:50 +00:00
parent a360e487bd
commit 52e8dbf7e5
+4 -4
View File
@@ -116,14 +116,14 @@ else if (InputState & DEVICE_EXIT) return (FALSE);
BYTE NewState;
NewState = pMS->CurState;
if (GetInputXComponent (InputState) > 0
|| GetInputYComponent (InputState) > 0)
if (GetInputXComponent (InputState) < 0
|| GetInputYComponent (InputState) < 0)
{
if (NewState-- == START_NEW_GAME)
NewState = PLAY_SUPER_MELEE;
}
else if (GetInputXComponent (InputState) < 0
|| GetInputYComponent (InputState) < 0)
else if (GetInputXComponent (InputState) > 0
|| GetInputYComponent (InputState) > 0)
{
if (NewState++ == PLAY_SUPER_MELEE)
NewState = START_NEW_GAME;