From 4489838ea386f16975646c1366ef3025b69469e3 Mon Sep 17 00:00:00 2001 From: James Carty Date: Fri, 17 Aug 2018 22:35:04 +0100 Subject: [PATCH] Fix incorrect function call --- apps/openmw/mwmechanics/mechanicsmanagerimp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwmechanics/mechanicsmanagerimp.cpp b/apps/openmw/mwmechanics/mechanicsmanagerimp.cpp index a46204e66..42e46016a 100644 --- a/apps/openmw/mwmechanics/mechanicsmanagerimp.cpp +++ b/apps/openmw/mwmechanics/mechanicsmanagerimp.cpp @@ -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)