EXP sounds

This commit is contained in:
Antonio Martinez 2025-09-14 06:04:58 -04:00
parent 79ae7a1674
commit eb6de11c65

View file

@ -85,7 +85,12 @@ void Obj_ExpThink (mobj_t *exp)
exp->extravalue1++;
if (exp->extravalue1 >= 16)
{
S_StopSoundByID(exp->target, sfx_exp);
S_StartSound(exp->target, sfx_exp);
P_RemoveMobj(exp);
}
return;
}
@ -140,4 +145,4 @@ void Obj_ExpThink (mobj_t *exp)
exp->extravalue2 = 0;
}
}
}
}