maybe you can do some better solution:
if(my.path_dist < my.bomber_speed * time_step)


Visit my site: www.masterq32.de