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:
+3
-1
@@ -1,6 +1,8 @@
|
|||||||
Changes towards version 0.5:
|
Changes towards version 0.5:
|
||||||
|
- Keypress status is not reset when entering battle mode (solves
|
||||||
|
bug #596) - Michael
|
||||||
- Added the rest of devel/ and users/ documentation into MSVC .dsp
|
- Added the rest of devel/ and users/ documentation into MSVC .dsp
|
||||||
files (but #589) -- Michael
|
files (bug #589) - Michael
|
||||||
- Fixed PNG transparency info (tRNS chunk) in all images according
|
- Fixed PNG transparency info (tRNS chunk) in all images according
|
||||||
to info specified by .ani - Alex
|
to info specified by .ani - Alex
|
||||||
- Comm animation fixes (bugs 557, 705, 806); from chmmravatar, Alex
|
- Comm animation fixes (bugs 557, 705, 806); from chmmravatar, Alex
|
||||||
|
|||||||
@@ -342,7 +342,7 @@ GetMeleeStarShip (STARSHIPPTR LastStarShipPtr, COUNT which_player)
|
|||||||
|
|
||||||
UnlockMutex (GraphicsLock);
|
UnlockMutex (GraphicsLock);
|
||||||
ResetKeyRepeat ();
|
ResetKeyRepeat ();
|
||||||
DoInput ((PVOID)&gmstate, TRUE);
|
DoInput ((PVOID)&gmstate, FALSE);
|
||||||
|
|
||||||
LockMutex (GraphicsLock);
|
LockMutex (GraphicsLock);
|
||||||
SetFlashRect (NULL_PTR, (FRAME)0);
|
SetFlashRect (NULL_PTR, (FRAME)0);
|
||||||
|
|||||||
@@ -272,7 +272,7 @@ OldContext = SetContext (SpaceContext);
|
|||||||
UnlockMutex (GraphicsLock);
|
UnlockMutex (GraphicsLock);
|
||||||
pMenuState = &MenuState;
|
pMenuState = &MenuState;
|
||||||
SetMenuSounds (MENU_SOUND_ARROWS, MENU_SOUND_SELECT);
|
SetMenuSounds (MENU_SOUND_ARROWS, MENU_SOUND_SELECT);
|
||||||
DoInput ((PVOID)&MenuState, TRUE);
|
DoInput ((PVOID)&MenuState, FALSE);
|
||||||
pMenuState = 0;
|
pMenuState = 0;
|
||||||
LockMutex (GraphicsLock);
|
LockMutex (GraphicsLock);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user