X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=rocks.c;h=fc18bf36bdf3a4a96b12fb9d7cafe2499b0cd817;hp=5518c4197c406d8aa428a536cd0484bf5466e473;hb=3ef599c7104a20c4f5268dbefb6590aa3e285663;hpb=286cb1818d7d2787c8a19f5cf34947e7300bc536 diff --git a/rocks.c b/rocks.c index 5518c41..fc18bf3 100644 --- a/rocks.c +++ b/rocks.c @@ -157,7 +157,7 @@ new_rocks(void) // loop through the four sides of the screen for(i=0; i<4; i++) { // see if we generate a rock for this side this frame - rtimers[i] += ti[i]*t_frame/20; + rtimers[i] += ti[i]*s_frame; while(rtimers[i] >= 1) { rtimers[i] -= 1; j=0;