Quote:
Originally Posted by zokemon
I fail to see the need for a loop here...
PHP Code:
if (tiletype(int(this.x + vecx(player.dir)), int(this.y + vecy(player.dir))) != 22)
goto(int(this.x + vecx(player.dir)), int(this.y + vecy(player.dir));
|
Hmm, very good point! I completely missed that.