diff options
| author | Bryan Hoyle <starfoxprime@gmail.com> | 2011-08-16 19:18:15 (GMT) |
|---|---|---|
| committer | Bryan Hoyle <starfoxprime@gmail.com> | 2011-08-16 19:18:15 (GMT) |
| commit | 53d2c2d42ff95131351b055af0af5372549062e4 (patch) | |
| tree | 0ed6e4b06c7d4ccac63049c8faa499662bf9ed47 /src/graphics.c | |
| parent | d0291e73bc2698272db8964da148f51610fd7b14 (diff) | |
| download | powder-53d2c2d42ff95131351b055af0af5372549062e4.zip powder-53d2c2d42ff95131351b055af0af5372549062e4.tar.gz | |
GBMB changes
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 { |
