Allow debris to live a little longer, so we can see it burning.
This commit is contained in:
parent
6044cbf957
commit
507327c853
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue