summaryrefslogtreecommitdiff
path: root/src/game/g_active.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r--src/game/g_active.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c
index 242cdc67..4d35b6a0 100644
--- a/src/game/g_active.c
+++ b/src/game/g_active.c
@@ -1777,7 +1777,9 @@ void ClientThink_real( gentity_t *ent )
if( i == num && client->ps.stats[ STAT_PTEAM ] == PTE_ALIENS )
{
- if( BG_UpgradeClassAvailable( &client->ps ) )
+ if( BG_AlienCanEvolve( client->ps.stats[ STAT_PCLASS ],
+ client->ps.persistant[ PERS_CREDIT ],
+ g_alienStage.integer ) )
{
//no nearby objects and alien - show class menu
G_TriggerMenu( ent->client->ps.clientNum, MN_A_INFEST );