fixed derpy ai movement.

Signed-off-by: CaelAislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
CaelAislinn
2012-02-08 06:16:12 +10:00
parent 70849af46c
commit 09490b8cb0

View File

@@ -51,6 +51,9 @@
continue
if(dy && (current.y * dy <= old.y * dy))
continue
//only let the player move to cameras on the same zlevel
if(current.z != old.z)
continue
var/shared_types = 0 //how many levels deep the old camera and the closest camera's areas share
//for instance, /area/A and /area/B would have shared_types = 2 (because of how dd_text2list works)