From ca3979dcec3c3486af95f67b64b0bc7c42dc6596 Mon Sep 17 00:00:00 2001 From: avolkov Date: Thu, 19 Jan 2006 01:23:04 +0000 Subject: [PATCH] Draw joystick cursor in star-search when matched too git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2195 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/planets/pstarmap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sc2/src/sc2code/planets/pstarmap.c b/sc2/src/sc2code/planets/pstarmap.c index f44aab138..85fa8ad1b 100644 --- a/sc2/src/sc2code/planets/pstarmap.c +++ b/sc2/src/sc2code/planets/pstarmap.c @@ -1022,7 +1022,10 @@ DrawMatchedStarName (PTEXTENTRY_STATE pTES) strcpy (pstr, GAME_STRING (SDPtr->Postfix)); ExPos += pSS->ClusterLen; CurPos = pTES->CursorPos; + flags = DSME_CLEARFR; + if (pTES->JoystickMode) + flags |= DSME_BLOCKCUR; } LockMutex (GraphicsLock);