mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-20 10:00:20 -04:00
Fix typo
This commit is contained in:
parent
7cc950ed64
commit
89783e047b
@ -2281,7 +2281,7 @@ namespace MWWorld
|
||||
{
|
||||
if (!targetActor.getRefData().isEnabled() || !actor.getRefData().isEnabled())
|
||||
return false; // cannot get LOS unless both NPC's are enabled
|
||||
if (!targetActor.getRefData().getBaseNode() || !targetActor.getRefData().getBaseNode())
|
||||
if (!targetActor.getRefData().getBaseNode() || !actor.getRefData().getBaseNode())
|
||||
return false; // not in active cell
|
||||
|
||||
return mPhysics->getLineOfSight(actor, targetActor);
|
||||
|
Loading…
x
Reference in New Issue
Block a user