mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-22 06:53:53 +00:00
Revert "NPCs detect crime exclusively"
This reverts commit 54d9615d85ae856ad4fdd2c130ac9cb0cd847c72. Conflicts: apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
This commit is contained in:
parent
13416a3501
commit
ce106d3bec
1 changed files with 3 additions and 0 deletions
|
@ -843,7 +843,10 @@ namespace MWMechanics
|
|||
// Find an actor who witnessed the crime
|
||||
for (std::vector<MWWorld::Ptr>::iterator it = neighbors.begin(); it != neighbors.end(); ++it)
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
if (*it == ptr) continue; // not the player
|
||||
>>>>>>> parent of 54d9615... NPCs detect crime exclusively
|
||||
|
||||
// Was the crime seen?
|
||||
if ( ( MWBase::Environment::get().getWorld()->getLOS(ptr, *it) && awarenessCheck(ptr, *it) ) ||
|
||||
|
|
Loading…
Reference in a new issue