From 44a962c6bd8476a10c9d9f2d9aa6de4c426cce0a Mon Sep 17 00:00:00 2001 From: gewlitys Date: Wed, 4 Dec 2002 21:19:10 +0000 Subject: [PATCH] Precursor ship crew count is now placed correctly in melee, from wjp git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@329 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/element.h | 3 +++ sc2/src/sc2code/status.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sc2/src/sc2code/element.h b/sc2/src/sc2code/element.h index 9ea3b6794..b3ef971cb 100644 --- a/sc2/src/sc2code/element.h +++ b/sc2/src/sc2code/element.h @@ -30,6 +30,9 @@ #define STARCON_TEXT_HEIGHT 7 #define TINY_TEXT_HEIGHT 9 +#define BATTLE_CREW_X 10 +#define BATTLE_CREW_Y 184 + #define NORMAL_LIFE 1 typedef QUEUE_HANDLE HELEMENT; diff --git a/sc2/src/sc2code/status.c b/sc2/src/sc2code/status.c index 97ca8c056..78f757e30 100644 --- a/sc2/src/sc2code/status.c +++ b/sc2/src/sc2code/status.c @@ -115,8 +115,8 @@ DrawBattleCrewAmount (BOOLEAN CountPlayer) TEXT t; UNICODE buf[10]; - t.baseline.x = 10; - t.baseline.y = 168; + t.baseline.x = BATTLE_CREW_X; + t.baseline.y = BATTLE_CREW_Y - SAFE_Y; t.align = ALIGN_LEFT; t.pStr = buf; t.CharCount = (COUNT)~0;