Skip to content
Permalink
Browse files

The short prox fuse functionalite no longer Applies to Team Deathmatc…

…h, Harvester, Elimination, Domination and Double Domination.

For Obelisk it now goes for the obelisks instead of the flag bases.
  • Loading branch information...
sago007 committed Dec 22, 2016
1 parent 83a1c2c commit 02315f58ea232cdaa49e49e2887fb71355029f6f
Showing with 18 additions and 0 deletions.
  1. +18 −0 code/game/g_missile.c
@@ -188,6 +188,24 @@ static void ProximityMine_Activate( gentity_t *ent )
default:
c = NULL;
}

if (g_gametype.integer == GT_TEAM || g_gametype.integer == GT_DOMINATION || g_gametype.integer == GT_ELIMINATION || g_gametype.integer == GT_DOUBLE_D
|| g_gametype.integer == GT_HARVESTER) {
c = NULL;
}

if (g_gametype.integer == GT_OBELISK ) {
switch (ent->s.generic1) {
case TEAM_RED:
c = "team_redobelisk";
break;
case TEAM_BLUE:
c = "team_blueobelisk";
break;
default:
c = NULL;
}
}

if(c) {
flag = NULL;

0 comments on commit 02315f5

Please sign in to comment.
You can’t perform that action at this time.