mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-04 07:52:22 +00:00
Only check for listenmobj for the splitscreen players
Steel's comment is what hinted me to compare the code again -- P1 was the only one who didn't care about their listenmobj existing first.
This commit is contained in:
parent
8958ebd293
commit
0f14f0cec1
1 changed files with 1 additions and 1 deletions
|
|
@ -635,7 +635,7 @@ void S_StartSoundAtVolume(const void *origin_p, sfxenum_t sfx_id, INT32 volume)
|
||||||
for (i = r_splitscreen; i >= 0; i--)
|
for (i = r_splitscreen; i >= 0; i--)
|
||||||
{
|
{
|
||||||
// Copy the sound for the splitscreen players!
|
// Copy the sound for the splitscreen players!
|
||||||
if (!listenmobj[i])
|
if (listenmobj[i] == NULL && i != 0)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue