From aaa705bc608faad80b7da723dda1059f22fac0ae Mon Sep 17 00:00:00 2001 From: mcmartin Date: Sun, 29 Jun 2003 20:10:53 +0000 Subject: [PATCH] Fix for #379 This might generalize to other cases where WaitForNoInput is called, I'm not sure. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1000 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/planets/scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc2/src/sc2code/planets/scan.c b/sc2/src/sc2code/planets/scan.c index a568a4d41..3a6e2a9cc 100644 --- a/sc2/src/sc2code/planets/scan.c +++ b/sc2/src/sc2code/planets/scan.c @@ -1158,7 +1158,7 @@ DoScan (PMENU_STATE pMS) pSolarSysState->MenuState.Initialized -= 4; pSolarSysState->PauseRotate = 0; - WaitForNoInput (ONE_SECOND / 2); + FlushInput (); } else if (!(pSolarSysState->pOrbitalDesc->data_index & PLANET_SHIELDED) && pSolarSysState->SysInfo.PlanetInfo.AtmoDensity !=