mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-15 14:11:19 +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
|
// Assumedly in splitscreen players will be on opposing teams
|
||||||
if (players[consoleplayer].ctfteam == 1 || splitscreen)
|
if (players[consoleplayer].ctfteam == 1 || splitscreen)
|
||||||
S_StartSound(NULL, sfx_hoop1);
|
S_StartSound(NULL, sfx_hoop1);
|
||||||
|
else if (players[consoleplayer].ctfteam == 2)
|
||||||
|
S_StartSound(NULL, sfx_hoop3);
|
||||||
|
|
||||||
redflag = flagmo;
|
redflag = flagmo;
|
||||||
}
|
}
|
||||||
|
@ -7285,6 +7287,8 @@ void P_MobjThinker(mobj_t *mobj)
|
||||||
// Assumedly in splitscreen players will be on opposing teams
|
// Assumedly in splitscreen players will be on opposing teams
|
||||||
if (players[consoleplayer].ctfteam == 2 || splitscreen)
|
if (players[consoleplayer].ctfteam == 2 || splitscreen)
|
||||||
S_StartSound(NULL, sfx_hoop1);
|
S_StartSound(NULL, sfx_hoop1);
|
||||||
|
else if (players[consoleplayer].ctfteam == 1)
|
||||||
|
S_StartSound(NULL, sfx_hoop3);
|
||||||
|
|
||||||
blueflag = flagmo;
|
blueflag = flagmo;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue