summaryrefslogtreecommitdiff
path: root/src/game/g_active.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2003-03-21 05:03:49 +0000
committerTim Angus <tim@ngus.net>2003-03-21 05:03:49 +0000
commit15004a036d57d0115b2ffa850fd2c329c9822751 (patch)
tree8566a1cead9c89dd9f55546bf254d1f9bd0f7e6a /src/game/g_active.c
parent8e1e3e6f4cc6abaf5bfdb1a8c1162762c0ddaced (diff)
* Eggs regenerate faster
* Human weapons stronger * Radically changed the alien evolution process * Buy menu now only shows things you are able to buy
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r--src/game/g_active.c9
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 );
+ }
+ }
}
}
}