From b8f4f7dfe9111f854cb5e065be506064e1ed15af Mon Sep 17 00:00:00 2001 From: gewlitys Date: Sat, 13 Sep 2003 15:51:03 +0000 Subject: [PATCH] Fixed one-pixel glitch in shipyard when scrapping (bug #461), from Paxtez git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1229 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/ChangeLog | 2 ++ sc2/src/sc2code/sis.c | 14 ++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sc2/ChangeLog b/sc2/ChangeLog index 0dd572f38..631fef221 100644 --- a/sc2/ChangeLog +++ b/sc2/ChangeLog @@ -1,4 +1,6 @@ Changes towards version 0.4: +- Fixed one-pixel glitch in shipyard when scrapping (bug #461), + from Paxtez - Adjusted subtitle timings when there are no oggs (part of bug #362), from chmmravatar - Fixed crash in conversation summary and ffw/frew problem when diff --git a/sc2/src/sc2code/sis.c b/sc2/src/sc2code/sis.c index d661db8ab..f5c361150 100644 --- a/sc2/src/sc2code/sis.c +++ b/sc2/src/sc2code/sis.c @@ -929,14 +929,12 @@ DeltaSISGauges (SIZE crew_delta, SIZE fuel_delta, int resunit_delta) } else { - r.corner.x = 1; - r.corner.y = 129; - r.extent.width = 62; - r.extent.height = 9; - DrawStarConBox (&r, 1, - BUILD_COLOR (MAKE_RGB15 (0x10, 0x10, 0x10), 0x19), - BUILD_COLOR (MAKE_RGB15 (0x8, 0x8, 0x8), 0x1F), - TRUE, BUILD_COLOR (MAKE_RGB15 (0x00, 0x8, 0x00), 0x6E)); + r.corner.x = 2; + r.corner.y = 130; + r.extent.width = STATUS_MESSAGE_WIDTH; + r.extent.height = STATUS_MESSAGE_HEIGHT; + SetContextForeGroundColor (BUILD_COLOR (MAKE_RGB15 (0x00, 0x8, 0x00), 0x6E)); + DrawFilledRectangle (&r); if ((pMenuState == 0 && CommData.ConversationPhrases /* Melnorme shenanigans */