- fixed missing attack sound in A_CustomPunch

See 7bb3855439/src/p_actionfunctions.cpp (L1729)

https://forum.zdoom.org/viewtopic.php?t=63049
This commit is contained in:
alexey.lysiuk 2018-12-29 12:34:38 +02:00
parent 17e053499e
commit 8e684f9687

View file

@ -317,7 +317,7 @@ class StateProvider : Inventory
if (weapon != NULL)
{
if (MeleeSound) A_PlaySound(MeleeSound, CHAN_WEAPON);
else A_PlaySound(AttackSound, CHAN_WEAPON);
else A_PlaySound(weapon.AttackSound, CHAN_WEAPON);
}
if (!(flags & CPF_NOTURN))