From ce00395ab73bb763d5c2b19c2fcae46e9b8bfb8e Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Fri, 22 Jul 2005 01:32:50 +0000 Subject: * Added a report of which stages each team had reached to the intermission scoreboard * Advanced construction kit is now free * Fixed the bug where the armoury and repeater would still work via command when not powered * Fixed bug where the granger could evolve whilst waiting for its build timer * Increased the jump height of the base granger slightly --- src/ui/ui_main.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'src/ui') diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c index 76d9e8d3..09bb0e3d 100644 --- a/src/ui/ui_main.c +++ b/src/ui/ui_main.c @@ -3309,6 +3309,8 @@ UI_LoadTremHumanItems */ static void UI_LoadTremHumanItems( void ) { + weapon_t bWeapon; + uiInfo.tremHumanItemCount = 2; uiInfo.tremHumanItemList[ 0 ].text = @@ -3318,12 +3320,17 @@ static void UI_LoadTremHumanItems( void ) uiInfo.tremHumanItemList[ 0 ].infopane = UI_FindInfoPaneByName( va( "%sitem", BG_FindNameForWeapon( WP_MACHINEGUN ) ) ); + if( BG_FindStagesForWeapon( WP_HBUILD2, UI_GetCurrentHumanStage( ) ) ) + bWeapon = WP_HBUILD2; + else + bWeapon = WP_HBUILD; + uiInfo.tremHumanItemList[ 1 ].text = - String_Alloc( BG_FindHumanNameForWeapon( WP_HBUILD ) ); + String_Alloc( BG_FindHumanNameForWeapon( bWeapon ) ); uiInfo.tremHumanItemList[ 1 ].cmd = - String_Alloc( va( "cmd class %s\n", BG_FindNameForWeapon( WP_HBUILD ) ) ); + String_Alloc( va( "cmd class %s\n", BG_FindNameForWeapon( bWeapon ) ) ); uiInfo.tremHumanItemList[ 1 ].infopane = - UI_FindInfoPaneByName( va( "%sitem", BG_FindNameForWeapon( WP_HBUILD ) ) ); + UI_FindInfoPaneByName( va( "%sitem", BG_FindNameForWeapon( bWeapon ) ) ); } /* -- cgit