try it with this instead
while ((vec_dist(my.x,player.x)>8)&&(!key_space))
sometimes the appropriate brackets make all the difference.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial