From 52e8dbf7e51a550fe2e7a4452718ba8f9859734d Mon Sep 17 00:00:00 2001 From: mcmartin Date: Thu, 31 Oct 2002 06:15:50 +0000 Subject: [PATCH] Repaired main menu controls, updated TODO git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@189 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/restart.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sc2/src/sc2code/restart.c b/sc2/src/sc2code/restart.c index 9fc0897a1..c5df5f37e 100644 --- a/sc2/src/sc2code/restart.c +++ b/sc2/src/sc2code/restart.c @@ -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;