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:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user