wait is not a normal function (i think it hasn't even a real function structure)
so handling this is not so easy

and just change your code to this:
Code:
for (my-frame = 0; ; my->frame += time_step;)
    wait(1);



Visit my site: www.masterq32.de