From 8d5bc92565146baee1f77f8ff7a9b6d229e05613 Mon Sep 17 00:00:00 2001 From: Mikko Tiusanen Date: Thu, 15 May 2014 22:13:54 +0300 Subject: Mines no longer trigger on anything <= adv. basilisk. --- src/game/g_missile.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/game/g_missile.c') 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; iclient && 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! -- cgit