Properly reset keyrepeat delays when cancelling starmap

In 0.3, if you go to the starmap, cancel, then go back to the menu, all
while in IP, you'll end up keeping the (very fast) starmap keyrepeat for
the menu itself.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1318 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2004-02-05 08:31:12 +00:00
parent c2f4470cb2
commit 074e3032c6
+1
View File
@@ -1251,6 +1251,7 @@ DoFlagshipCommands (PMENU_STATE pMS)
} }
AutoPilotSet = DoStarMap (); AutoPilotSet = DoStarMap ();
SetDefaultMenuRepeatDelay ();
if (LOBYTE (GLOBAL (CurrentActivity)) == IN_HYPERSPACE if (LOBYTE (GLOBAL (CurrentActivity)) == IN_HYPERSPACE
|| (GLOBAL (CurrentActivity) & CHECK_ABORT)) || (GLOBAL (CurrentActivity) & CHECK_ABORT))