From fcb60bcbff442529fbb11e84a6a444d99057767b Mon Sep 17 00:00:00 2001 From: avolkov Date: Wed, 20 Jul 2011 17:23:43 +0000 Subject: [PATCH] Use correct Commander Hayes phrases when advising the player on the number of landers; bug #1098 git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3657 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/ChangeLog | 2 ++ sc2/src/uqm/comm/starbas/starbas.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sc2/ChangeLog b/sc2/ChangeLog index 4c0356d1f..a0fc2137c 100644 --- a/sc2/ChangeLog +++ b/sc2/ChangeLog @@ -1,4 +1,6 @@ Changes towards version 0.8: +- Commander Hayes now advises the player correctly on the number of + landers one needs (bug #1098) - Alex - All Sound Options are now preserved between visits to the setup menu. Some options still require a restart (bug #1132) - Alex - Removed the remnants of the --music option (bug #1133) - Alex diff --git a/sc2/src/uqm/comm/starbas/starbas.c b/sc2/src/uqm/comm/starbas/starbas.c index 18bd4cfb9..a7455b326 100644 --- a/sc2/src/uqm/comm/starbas/starbas.c +++ b/sc2/src/uqm/comm/starbas/starbas.c @@ -677,7 +677,7 @@ AnalyzeCondition (void) if (num_bays < 1) NPCPhrase (NEED_STORAGE_1); if (GLOBAL_SIS (NumLanders) == 0) - NPCPhrase (NEED_LANDERS_1); + NPCPhrase (NEED_LANDERS_2); if (num_batts < 1) NPCPhrase (NEED_DYNAMOS_1); @@ -754,7 +754,7 @@ AnalyzeCondition (void) if (GLOBAL_SIS (FuelOnBoard) < FUEL_TANK_CAPACITY * 3) NPCPhrase (NEED_FUEL_2); if (GLOBAL_SIS (NumLanders) < 3) - NPCPhrase (NEED_LANDERS_2); + NPCPhrase (NEED_LANDERS_1); if (num_batts < 4) NPCPhrase (NEED_DYNAMOS_2); if (num_defense < 2)