fix sound?

This commit is contained in:
Alug committed 2025-05-20 20:42:32 +02:00
1 parent 2e07f0be92
commit bd4103a2ed
1 file changed
+3 -3
+3 -3
View File
@@ -474,9 +474,9 @@ void S_StartSoundAtVolume(const void *origin_p, sfxenum_t sfx_id, INT32 volume)
// local player sounds play immediately during simulations, this is controlled
// in TryRunTics and RunSimulations in d_clisrv.c
if (gamestate == GS_LEVEL) // and when we are actually playing
if (((simtic != targetsimtic - 1 && origin == listenmobj[0]) || (origin != listenmobj[0] && issimulation)))
return;
//if (gamestate == GS_LEVEL) // and when we are actually playing
//if (((simtic != targetsimtic - 1 && origin == listenmobj[0]) || (origin != listenmobj[0] && issimulation)))
//return;
for (i = 0; i <= splitscreen; i++)
{