summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2004-01-19 19:21:19 +0000
committerTim Angus <tim@ngus.net>2004-01-19 19:21:19 +0000
commitc60908dce88434be260a07a804c8985c763ed7f8 (patch)
tree125a0d624146b8ec34033fa2b0a44b17012b5a34 /src/ui
parent73d22e1004003af65b2e1adba19649bb9933a42e (diff)
* Forced a weapon change when buying a weapon
* Implemented dynamic stage boundaries * A shedload of balance tweaks * Inevitably other stuff that I've forgotten whilst SF CVS has been down
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/ui_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c
index 502cf190..7401d000 100644
--- a/src/ui/ui_main.c
+++ b/src/ui/ui_main.c
@@ -3582,7 +3582,7 @@ static void UI_LoadTremAlienUpgrades( )
for( i = PCL_NONE + 1; i < PCL_NUM_CLASSES; i++ )
{
- if( BG_ClassCanEvolveFromTo( class, i, credits, 0 ) &&
+ if( BG_ClassCanEvolveFromTo( class, i, credits, 0 ) >= 0 &&
BG_FindStagesForClass( i, stage ) )
{
uiInfo.tremAlienUpgradeList[ j ].text = String_Alloc( BG_FindHumanNameForClassNum( i ) );