Keypresses are not reset when entering/leaving battle (bug #596)

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2111 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2005-12-24 15:53:49 +00:00
parent 1c714fc4f2
commit 9b7035f2a0
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -342,7 +342,7 @@ GetMeleeStarShip (STARSHIPPTR LastStarShipPtr, COUNT which_player)
UnlockMutex (GraphicsLock);
ResetKeyRepeat ();
DoInput ((PVOID)&gmstate, TRUE);
DoInput ((PVOID)&gmstate, FALSE);
LockMutex (GraphicsLock);
SetFlashRect (NULL_PTR, (FRAME)0);
+1 -1
View File
@@ -272,7 +272,7 @@ OldContext = SetContext (SpaceContext);
UnlockMutex (GraphicsLock);
pMenuState = &MenuState;
SetMenuSounds (MENU_SOUND_ARROWS, MENU_SOUND_SELECT);
DoInput ((PVOID)&MenuState, TRUE);
DoInput ((PVOID)&MenuState, FALSE);
pMenuState = 0;
LockMutex (GraphicsLock);