1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-16 16:20:53 +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)