mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-13 07:57:51 +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 (weapon != NULL)
|
||||||
{
|
{
|
||||||
if (MeleeSound) A_PlaySound(MeleeSound, CHAN_WEAPON);
|
if (MeleeSound) A_PlaySound(MeleeSound, CHAN_WEAPON);
|
||||||
else A_PlaySound(AttackSound, CHAN_WEAPON);
|
else A_PlaySound(weapon.AttackSound, CHAN_WEAPON);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(flags & CPF_NOTURN))
|
if (!(flags & CPF_NOTURN))
|
||||||
|
|
Loading…
Reference in a new issue