Skip to content

Commit

Permalink
enables pointing across z level
Browse files Browse the repository at this point in the history
  • Loading branch information
xTrainx committed Apr 8, 2024
1 parent 8265c99 commit 634cf5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/modules/mob/mob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@
//view() but with a signal, to allow blacklisting some of the otherwise visible atoms.
/mob/proc/fov_view(dist = world.view)
. = view(dist, src)
if(client.eye != src)
. = view(dist, client.eye)
SEND_SIGNAL(src, COMSIG_MOB_FOV_VIEW, .)

/**
Expand Down Expand Up @@ -399,7 +401,7 @@
set name = "Point To"
set category = "Object"

if(!src || !isturf(src.loc) || !(A in view(src.loc)))
if(!src || !isturf(src.loc))
return FALSE
if(istype(A, /obj/effect/temp_visual/point))
return FALSE
Expand Down

0 comments on commit 634cf5b

Please sign in to comment.