Switches reset_view to reset_perspective

This commit is contained in:
Crazylemon64
2016-12-21 17:59:08 -08:00
parent 6d3e66f41c
commit c0cd2c263f
30 changed files with 65 additions and 65 deletions
+4 -4
View File
@@ -488,7 +488,7 @@ var/list/slot_equipment_priority = list( \
//END HUMAN
// If you're looking for `reset_perspective`, that's a synonym for this proc.
/mob/proc/reset_view(atom/A)
/mob/proc/reset_perspective(atom/A)
if(client)
if(istype(A, /atom/movable))
client.perspective = EYE_PERSPECTIVE
@@ -502,7 +502,7 @@ var/list/slot_equipment_priority = list( \
client.eye = loc
return 1
/mob/living/reset_view(atom/A)
/mob/living/reset_perspective(atom/A)
. = ..()
if(.)
// Above check means the mob has a client
@@ -514,7 +514,7 @@ var/list/slot_equipment_priority = list( \
clear_fullscreen("remote_view", 0)
update_pipe_vision()
/mob/dead/reset_view(atom/A)
/mob/dead/reset_perspective(atom/A)
if(client)
if(ismob(client.eye) && (client.eye != src))
// Note to self: Use `client.eye` for ghost following in place
@@ -819,7 +819,7 @@ var/list/slot_equipment_priority = list( \
/mob/verb/cancel_camera()
set name = "Cancel Camera View"
set category = "OOC"
reset_view(null)
reset_perspective(null)
unset_machine()
if(istype(src, /mob/living))
if(src:cameraFollow)