From 074e3032c696a5c3df79ceac69bf5abc48e644e7 Mon Sep 17 00:00:00 2001 From: mcmartin Date: Thu, 5 Feb 2004 08:31:12 +0000 Subject: [PATCH] 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 --- sc2/src/sc2code/planets/pstarmap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sc2/src/sc2code/planets/pstarmap.c b/sc2/src/sc2code/planets/pstarmap.c index 6c81f055f..1f676aaf9 100644 --- a/sc2/src/sc2code/planets/pstarmap.c +++ b/sc2/src/sc2code/planets/pstarmap.c @@ -1251,6 +1251,7 @@ DoFlagshipCommands (PMENU_STATE pMS) } AutoPilotSet = DoStarMap (); + SetDefaultMenuRepeatDelay (); if (LOBYTE (GLOBAL (CurrentActivity)) == IN_HYPERSPACE || (GLOBAL (CurrentActivity) & CHECK_ABORT))