From 8e1fdf559a7a415002040c03b4cdb0e56174bf8a Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 13 Dec 2015 17:55:10 +0000 Subject: [PATCH] Scatter debris more quickly. --- src/battle/debris.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/battle/debris.c b/src/battle/debris.c index e1ae101..31e49dd 100644 --- a/src/battle/debris.c +++ b/src/battle/debris.c @@ -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));