1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-04-10 06:44:29 +00:00

Play 'Hand To Hand Hit' only for fatigue damage (bug #5093)

This commit is contained in:
Alexei Dobrohotov 2019-07-14 23:56:38 +03:00 committed by GitHub
parent 65ee420ab9
commit 29ebfe709e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -441,7 +441,7 @@ namespace MWMechanics
if(sound) if(sound)
sndMgr->playSound3D(victim, sound->mId, 1.0f, 1.0f); sndMgr->playSound3D(victim, sound->mId, 1.0f, 1.0f);
} }
else else if (!healthdmg)
sndMgr->playSound3D(victim, "Hand To Hand Hit", 1.0f, 1.0f); sndMgr->playSound3D(victim, "Hand To Hand Hit", 1.0f, 1.0f);
} }