From 7048ea6bcc2841f9e797467e8d61c3f068a7e417 Mon Sep 17 00:00:00 2001 From: gewlitys Date: Tue, 10 Dec 2002 20:25:30 +0000 Subject: [PATCH] Scan tint is now cleared right after the scan git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@400 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/planets/pl_stuff.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sc2/src/sc2code/planets/pl_stuff.c b/sc2/src/sc2code/planets/pl_stuff.c index f544dd36d..5ef87f207 100644 --- a/sc2/src/sc2code/planets/pl_stuff.c +++ b/sc2/src/sc2code/planets/pl_stuff.c @@ -176,6 +176,9 @@ DrawPlanet (int x, int y, int dy, unsigned int rgb) #else add_sub_frame (tintLine, NULL, tintFrame, &drect, 0); #endif + if (GetFrameHeight (tintFrame) == dy) + pSolarSysState->Tint_rgb = 0; + s.frame = tintFrame; DrawStamp (&s); }