Merge pull request #8587 from PsiOmegaDelta/EyeRefactoring

Refactoring of the AI eye code.
This commit is contained in:
Chinsky
2015-03-27 11:03:15 +03:00
17 changed files with 525 additions and 430 deletions

View File

@@ -213,7 +213,7 @@
mob/living/proc/near_camera()
if (!isturf(loc))
return 0
else if(!cameranet.checkCameraVis(src))
else if(!cameranet.checkVis(src))
return 0
return 1

View File

@@ -196,7 +196,7 @@ Class Procs:
user.set_machine(src)
/obj/machinery/CouldNotUseTopic(var/mob/user)
usr.unset_machine()
user.unset_machine()
////////////////////////////////////////////////////////////////////////////////////////////