mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 23:26:40 +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