View Single Post
  #12  
Old 02-12-2010, 04:11 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Well, in case anybody was wondering, the problem was this line:

PHP Code:
if (! (dx in |player.x, player.x + 3| && dy in |player.y, player.y + 3|)) { 
It should have read:

PHP Code:
if (! (dx in |pl.x, pl.x + 3| && dy in |pl.y, pl.y + 3|)) { 
__________________
Reply With Quote