Scatter debris more quickly.

This commit is contained in:
Steve 2015-12-13 17:55:10 +00:00
parent 260ada68c8
commit 8e1fdf559a
1 changed files with 2 additions and 2 deletions

View File

@ -51,9 +51,9 @@ void addDebris(int x, int y, int amount)
d->x = x;
d->y = y;
d->dx = rand() % 500 - rand() % 500;
d->dx = rand() % 1000 - rand() % 1000;
d->dx *= 0.01;
d->dy = rand() % 500 - rand() % 500;
d->dy = rand() % 1000 - rand() % 1000;
d->dy *= 0.01;
d->health = FPS + (FPS * (rand() % 3));