mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-28 23:36:42 +00:00
Fix incorrect function call
This commit is contained in:
parent
513e99148e
commit
4489838ea3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue