mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-19 17:09:40 +00:00
Add missing Hit voice dialogue for friendly hits
This commit is contained in:
parent
54dac1460c
commit
c19f89976e
1 changed files with 3 additions and 0 deletions
|
@ -1120,7 +1120,10 @@ namespace MWMechanics
|
|||
ptr.getClass().getCreatureStats(ptr).friendlyHit();
|
||||
|
||||
if (ptr.getClass().getCreatureStats(ptr).getFriendlyHits() < 4)
|
||||
{
|
||||
MWBase::Environment::get().getDialogueManager()->say(ptr, "hit");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Attacking peaceful NPCs is a crime
|
||||
|
|
Loading…
Reference in a new issue