Quote:
Originally Posted by salesman
I tried your code on my server (using new tileset type, though) and it worked fine.
Just curious, are you defining this.speed anywhere? You said it works fine without the onWater() check, but I don't see this.speed set anywhere in your post. (dividing by zero is bad and would cause this not to work!)
|
Most likely, but like I said: Works on the birds just fine. Maybe this.speed is the reason, I will try w/o it.