diff options
author | Tim Angus <tim@ngus.net> | 2005-07-22 01:32:50 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2005-07-22 01:32:50 +0000 |
commit | ce00395ab73bb763d5c2b19c2fcae46e9b8bfb8e (patch) | |
tree | d2e6ec40a28beb426ae00968bdd2052e6c1478fe /src/ui | |
parent | b104fc884a9644c4469eb2d6076bee0c6720f132 (diff) |
* 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
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/ui_main.c | 13 |
1 files changed, 10 insertions, 3 deletions
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 ) ) ); } /* |