mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- 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:
parent
17e053499e
commit
8e684f9687
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue