1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-04 16:15:32 +00:00

Fix incorrect function call

This commit is contained in:
James Carty 2018-08-17 22:35:04 +01:00
parent 513e99148e
commit 4489838ea3

View file

@ -1512,7 +1512,7 @@ namespace MWMechanics
const MWMechanics::NpcStats& victimStats = victim.getClass().getNpcStats(victim);
const MWWorld::Ptr &player = getPlayer();
bool canCommit = attacker == player && canCommitCrimeAgainst(attacker, victim);
bool canCommit = attacker == player && canCommitCrimeAgainst(victim, attacker);
// For now we report only about crimes of player and player's followers
if (attacker != player)