From 507327c853c42b34936c72840f01cd7450176396 Mon Sep 17 00:00:00 2001 From: Steve Date: Fri, 23 Mar 2018 08:06:11 +0000 Subject: [PATCH] Allow debris to live a little longer, so we can see it burning. --- src/world/effects.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/world/effects.c b/src/world/effects.c index 951c53d..ee00fc1 100644 --- a/src/world/effects.c +++ b/src/world/effects.c @@ -100,12 +100,12 @@ void throwDebris(float x, float y, int amount) piece->dx = rrnd(-20, 20); piece->dx /= 10; piece->dy = -rrnd(10, 15); - piece->health = FPS * rrnd(1, 3); + piece->health = FPS * rrnd(1, 10); piece->sprite[0] = piece->sprite[1] = piece->sprite[2] = debris[i % 3]; if (app.config.blood == 2) { - piece->health = FPS * rrnd(FPS / 2, FPS); + piece->health = FPS * rrnd(30, 60); } } }