Fixed sticky pause and exit keys in main menu - resolves #385
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1002 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -130,6 +130,10 @@ else if (InputState & DEVICE_EXIT) return (FALSE);
|
|||||||
SetFlashRect (NULL_PTR, (FRAME)0);
|
SetFlashRect (NULL_PTR, (FRAME)0);
|
||||||
ClearSemaphore (GraphicsSem);
|
ClearSemaphore (GraphicsSem);
|
||||||
|
|
||||||
|
/* Cancel any presses of the Pause or Exit keys. */
|
||||||
|
GamePaused = FALSE;
|
||||||
|
ExitRequested = FALSE;
|
||||||
|
|
||||||
return (FALSE);
|
return (FALSE);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user