diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-02-16 21:13:59 (GMT) |
|---|---|---|
| committer | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-02-16 21:28:43 (GMT) |
| commit | 9001508623471c20abd5bce8a025f3b10b87b205 (patch) | |
| tree | 029af83885ce4cd6eda973593948d7db0ebab47b /src | |
| parent | 3042b53e111bf3ebb854d8be90415cdd22b8557f (diff) | |
| download | powder-9001508623471c20abd5bce8a025f3b10b87b205.zip powder-9001508623471c20abd5bce8a025f3b10b87b205.tar.gz | |
Draw pixels for the entire fire_alpha array
Makes fire glow look slightly less blocky
Diffstat (limited to 'src')
| -rw-r--r-- | src/graphics.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphics.c b/src/graphics.c index c460725..185ad6e 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; |
