REFACTOR
From /dev/humancontroller.
This commit is contained in:
parent
997615168a
commit
7f9a04fd80
6 changed files with 5 additions and 6 deletions
|
@ -1066,13 +1066,13 @@ void CG_EntityEvent( centity_t *cent, vec3_t position ) {
|
|||
if (cg.snap->ps.powerups[PW_BLUEFLAG] || cg.snap->ps.powerups[PW_NEUTRALFLAG]) {
|
||||
}
|
||||
else {
|
||||
if (cgs.clientinfo[cg.clientNum].team == TEAM_BLUE) {
|
||||
if (cgs.clientinfo[cg.clientNum].team == TEAM_BLUE) {
|
||||
#ifdef MISSIONPACK
|
||||
if (cgs.gametype == GT_1FCTF)
|
||||
CG_AddBufferedSound( cgs.media.yourTeamTookTheFlagSound );
|
||||
else
|
||||
#endif
|
||||
CG_AddBufferedSound( cgs.media.enemyTookYourFlagSound );
|
||||
CG_AddBufferedSound( cgs.media.enemyTookYourFlagSound );
|
||||
}
|
||||
else if (cgs.clientinfo[cg.clientNum].team == TEAM_RED) {
|
||||
#ifdef MISSIONPACK
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue