X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=dust.c;h=5ee9e2058345365bf0c2d1d8dcbe133511d20e25;hp=b336696035da9c1cbd7248114d023487d600e551;hb=51d56bfe5830a41e61f4ceefb75217f647d994fe;hpb=a726e74233c877dab3aca50e5b31e7652035ae30 diff --git a/dust.c b/dust.c index b336696..5ee9e20 100644 --- a/dust.c +++ b/dust.c @@ -27,11 +27,11 @@ init_dust(void) } void -move_dust(void) +move_dust(float ticks) { int i; - float xscroll = screendx * t_frame; - float yscroll = screendy * t_frame; + float xscroll = screendx * ticks; + float yscroll = screendy * ticks; for(i=0; i