1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 09:53:54 +00:00

Revert "NPCs detect crime exclusively"

This reverts commit 54d9615d85ae856ad4fdd2c130ac9cb0cd847c72.

Conflicts:
apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
This commit is contained in:
Jeffrey Haines 2014-04-27 09:34:33 -04:00
parent 13416a3501
commit ce106d3bec

View file

@ -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) ) ||