summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBryan Hoyle <starfoxprime@gmail.com>2011-08-16 18:51:59 (GMT)
committer Bryan Hoyle <starfoxprime@gmail.com>2011-08-16 18:51:59 (GMT)
commitd0291e73bc2698272db8964da148f51610fd7b14 (patch)
tree2ae052e3bc392812cd1c10ad7ade8848bb9c35e1 /src
parent60c6aab523f8a593c262f618d8419517963fe3a9 (diff)
downloadpowder-d0291e73bc2698272db8964da148f51610fd7b14.zip
powder-d0291e73bc2698272db8964da148f51610fd7b14.tar.gz
I'm an idiot, had to replace the blendpixel because I forgot about fire mode.
Diffstat (limited to 'src')
-rw-r--r--src/graphics.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/graphics.c b/src/graphics.c
index ba19b27..b3c7231 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -3256,6 +3256,10 @@ void draw_parts(pixel *vid)
fire_g[y][x] = (int)((float)parts[i].life/100.0 * 50);
fire_b[y][x] = (int)((float)parts[i].life/100.0 * 255);
}
+ else
+ {
+ blendpixel(vid, nx, ny, 25,50,255, 255);
+ }
}