1
0
Fork 1
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:
scrawl 2014-09-18 05:13:17 +02:00
parent 54dac1460c
commit c19f89976e

View file

@ -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