mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 15:22:20 +00:00
Play flag-returned SFX for the opposing team
This commit is contained in:
parent
402860dc06
commit
9d1bc3063f
1 changed files with 4 additions and 0 deletions
|
@ -7274,6 +7274,8 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
// Assumedly in splitscreen players will be on opposing teams
|
||||
if (players[consoleplayer].ctfteam == 1 || splitscreen)
|
||||
S_StartSound(NULL, sfx_hoop1);
|
||||
else if (players[consoleplayer].ctfteam == 2)
|
||||
S_StartSound(NULL, sfx_hoop3);
|
||||
|
||||
redflag = flagmo;
|
||||
}
|
||||
|
@ -7285,6 +7287,8 @@ void P_MobjThinker(mobj_t *mobj)
|
|||
// Assumedly in splitscreen players will be on opposing teams
|
||||
if (players[consoleplayer].ctfteam == 2 || splitscreen)
|
||||
S_StartSound(NULL, sfx_hoop1);
|
||||
else if (players[consoleplayer].ctfteam == 1)
|
||||
S_StartSound(NULL, sfx_hoop3);
|
||||
|
||||
blueflag = flagmo;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue