diff options
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r-- | src/game/g_active.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c index 3f81dcfb..f5470e43 100644 --- a/src/game/g_active.c +++ b/src/game/g_active.c @@ -1152,6 +1152,15 @@ void ClientThink_real( gentity_t *ent ) break; } } + + if( i == num && client->ps.stats[ STAT_PTEAM ] == PTE_ALIENS ) + { + if( client->ps.persistant[ PERS_CREDIT ] > 0 ) + { + //no nearby objects and alien - show class menu + G_AddPredictableEvent( ent, EV_MENU, MN_A_INFEST ); + } + } } } } |