JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
oops, didn't fix bang dots correctly.
[vor.git] / dust.c
diff --git a/dust.c b/dust.c
index 691649d..3a9f246 100644 (file)
--- a/dust.c
+++ b/dust.c
@@ -30,6 +30,8 @@ void
 move_dust(void)
 {
        int i;
+       float xscroll = screendx * t_frame;
+       float yscroll = screendy * t_frame;
        for(i=0; i<N_DUST_MOTES; i++) {
                motes[i].x -= xscroll / (1.3 + motes[i].z);
                motes[i].y -= yscroll / (1.3 + motes[i].z);