From 9001508623471c20abd5bce8a025f3b10b87b205 Mon Sep 17 00:00:00 2001 From: jacksonmj Date: Thu, 16 Feb 2012 21:13:59 +0000 Subject: [PATCH] Draw pixels for the entire fire_alpha array Makes fire glow look slightly less blocky --- src/graphics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphics.c b/src/graphics.c index c460725ab..185ad6eff 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -3170,8 +3170,8 @@ void render_fire(pixel *vid) g = fire_g[j][i]; b = fire_b[j][i]; if (r || g || b) - for (y=-CELL+1; y<2*CELL; y++) - for (x=-CELL+1; x<2*CELL; x++) + for (y=-CELL; y<2*CELL; y++) + for (x=-CELL; x<2*CELL; x++) addpixel(vid, i*CELL+x, j*CELL+y, r, g, b, fire_alpha[y+CELL][x+CELL]); r *= 8; g *= 8;