78
if (!isWithinMaxRange(osg::Vec3f(mX, mY, mZ), actor.getRefData().getPosition().asVec3()))
81
78
if (!mCellId.empty() && mCellId != actor.getCell()->getCell()->getCellId().mWorldspace)
82
79
return false; // Not in the correct cell, pause and rely on the player to go back through a teleport door