diff options
Diffstat (limited to 'src/graphics.c')
| -rw-r--r-- | src/graphics.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/graphics.c b/src/graphics.c index b3c7231..ca92f53 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -3252,9 +3252,9 @@ void draw_parts(pixel *vid) x = nx/CELL; y = ny/CELL; if (parts[i].tmp==1) { - fire_r[y][x] = (int)((float)parts[i].life/100.0 * 25); - fire_g[y][x] = (int)((float)parts[i].life/100.0 * 50); - fire_b[y][x] = (int)((float)parts[i].life/100.0 * 255); + fire_r[y][x] = (int)((float)parts[i].life/60.0 * 25); + fire_g[y][x] = (int)((float)parts[i].life/60.0 * 50); + fire_b[y][x] = (int)((float)parts[i].life/60.0 * 255); } else { |
