More MISSIONPACK ifdeffery.

This commit is contained in:
Zack Middleton 2012-08-17 19:05:40 +00:00
parent 9a69b738bf
commit dc8b48855d
3 changed files with 16 additions and 9 deletions

View file

@ -1107,6 +1107,7 @@ void CG_EntityEvent( centity_t *cent, vec3_t position ) {
}
}
break;
#ifdef MISSIONPACK
case GTS_REDOBELISK_ATTACKED: // Overload: red obelisk is being attacked
if (cgs.clientinfo[cg.clientNum].team == TEAM_RED) {
CG_AddBufferedSound( cgs.media.yourBaseIsUnderAttackSound );
@ -1117,6 +1118,7 @@ void CG_EntityEvent( centity_t *cent, vec3_t position ) {
CG_AddBufferedSound( cgs.media.yourBaseIsUnderAttackSound );
}
break;
#endif
case GTS_REDTEAM_SCORED:
CG_AddBufferedSound(cgs.media.redScoredSound);