X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=dust.c;h=5ee9e2058345365bf0c2d1d8dcbe133511d20e25;hb=da1b718e14900f7db4d94501a8fa22b24be097e7;hp=b336696035da9c1cbd7248114d023487d600e551;hpb=badd0f9bfc6dad829073e606c1953572ece1b06b;p=vor.git 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