diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -119,7 +119,7 @@ void WinScreen() typedef struct { - int x,y,yi; + double x,y,yi; } Star; Star *star; @@ -140,7 +140,7 @@ void WinScreen() do { - star[f].yi = rand() % 3; + star[f].yi = (double)(rand() % 20) / 10.0; } while(star[f].yi == 0); } @@ -163,7 +163,7 @@ void WinScreen() do { - star[f].yi = rand() % 3; + star[f].yi = (double)(rand() % 20) / 10.0; } while(star[f].yi == 0); } } |