mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-01 14:20:55 +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
6ed05f4469
commit
780b3ce42c
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