summaryrefslogtreecommitdiff
path: root/src/game/g_missile.c
diff options
context:
space:
mode:
authorMikko Tiusanen <ams@daug.net>2014-05-15 22:13:54 +0300
committerMikko Tiusanen <ams@daug.net>2014-05-15 22:13:54 +0300
commit8d5bc92565146baee1f77f8ff7a9b6d229e05613 (patch)
treea6b37c333b710857ca8778b12297a7bab4e64ebb /src/game/g_missile.c
parentde7bd9bbba26589b9deb1e7c9eda80a75ff0184f (diff)
Mines no longer trigger on anything <= adv. basilisk.
Diffstat (limited to 'src/game/g_missile.c')
-rw-r--r--src/game/g_missile.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/g_missile.c b/src/game/g_missile.c
index 7ee7dea..aaa1f2b 100644
--- a/src/game/g_missile.c
+++ b/src/game/g_missile.c
@@ -520,7 +520,9 @@ void G_ProcessMine(gentity_t *ent) {
// Loop entities looking for an enemy body
for(i=0; i<total_entities; i++) {
target = &g_entities[entityList[i]];
- if(target->client && target->client->ps.stats[ STAT_TEAM ] == TEAM_ALIENS) {
+ if(target->client &&
+ target->client->ps.stats[ STAT_TEAM ] == TEAM_ALIENS &&
+ target->client->ps.weapon > WP_ALEVEL1_UPG ) {
if (G_Visible( ent, target, MASK_SHOT ))
{
// Found an enemy, boom time!