mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-17 10:21:11 +00:00
Fix incorrect function call
This commit is contained in:
parent
513e99148e
commit
4489838ea3
@ -1512,7 +1512,7 @@ namespace MWMechanics
|
|||||||
|
|
||||||
const MWMechanics::NpcStats& victimStats = victim.getClass().getNpcStats(victim);
|
const MWMechanics::NpcStats& victimStats = victim.getClass().getNpcStats(victim);
|
||||||
const MWWorld::Ptr &player = getPlayer();
|
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
|
// For now we report only about crimes of player and player's followers
|
||||||
if (attacker != player)
|
if (attacker != player)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user