checkLineOfSight now checks if obj is in inventory