Play sound globally if emblems are shared

This commit is contained in:
Sally Coolatta 2022-02-28 11:50:12 -05:00
parent 29c61fac88
commit d7c5e16f6c

View file

@ -822,7 +822,7 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
spark = P_SpawnMobjFromMobj(special, 0, 0, 0, MT_SPARK);
if (prevCollected == false && P_EmblemWasCollected(special->health - 1) == true)
{
S_StartSound(special, special->info->deathsound);
S_StartSound((shareEmblems ? NULL : special), special->info->deathsound);
}
else
{