Allow debris to live a little longer, so we can see it burning.

This commit is contained in:
Steve 2018-03-23 08:06:11 +00:00
parent 6044cbf957
commit 507327c853
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}
}