Removed now-redundant buckle check.

This commit is contained in:
Zuhayr
2014-12-13 23:11:59 +10:30
parent 7efae862a2
commit 0c9d9999b3

View File

@@ -330,18 +330,6 @@
// Simple helper to face what you clicked on, in case it should be needed in more than one place // Simple helper to face what you clicked on, in case it should be needed in more than one place
/mob/proc/face_atom(var/atom/A) /mob/proc/face_atom(var/atom/A)
// Snowflake for space vines.
var/is_buckled = 0
if(buckled)
if(istype(buckled))
if(!buckled.movable)
is_buckled = 1
else
is_buckled = 0
if(is_buckled)
return
if(!A || !x || !y || !A.x || !A.y) return if(!A || !x || !y || !A.x || !A.y) return
var/dx = A.x - x var/dx = A.x - x
var/dy = A.y - y var/dy = A.y - y