diff options
author | Ian C <ianc@noddybox.co.uk> | 2019-02-05 09:39:55 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2019-02-05 09:39:55 +0000 |
commit | e3458fb60ce025598b500645842b82004d15ac29 (patch) | |
tree | 6ff96fa6b70d52e2e4094e3f2f8750f78ffc268d | |
parent | 07c11b469250752d24f981c1cbbbb800a92ced3d (diff) |
Altered win screen.
-rw-r--r-- | util.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -119,7 +119,7 @@ void WinScreen() typedef struct { - double x,y,yi; + int x,y,yi; } Star; Star *star; @@ -140,7 +140,7 @@ void WinScreen() do { - star[f].yi = DRand() * 2; + star[f].yi = rand() % 3; } while(star[f].yi == 0); } @@ -163,7 +163,7 @@ void WinScreen() do { - star[f].yi = DRand() * 2; + star[f].yi = rand() % 3; } while(star[f].yi == 0); } } |