summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2011-04-21 16:20:06 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-04-22 23:52:59 (GMT)
commit3e1ff2094c2a05885ee88dd51c17b7bb97500c81 (patch)
tree48f338001c4cd1f23d10786b2c57bc3e436b3812 /src
parent3bfa39ecf38c83161b38e6980631e025783f9c71 (diff)
downloadpowder-3e1ff2094c2a05885ee88dd51c17b7bb97500c81.zip
powder-3e1ff2094c2a05885ee88dd51c17b7bb97500c81.tar.gz
Fix WTRV formed from burning firework dust
Diffstat (limited to 'src')
-rw-r--r--src/elements/pyro.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/elements/pyro.c b/src/elements/pyro.c
index 3160920..aeac407 100644
--- a/src/elements/pyro.c
+++ b/src/elements/pyro.c
@@ -41,6 +41,7 @@ int update_PYRO(UPDATE_FUNC_ARGS) {
part_change_type(r>>8,x+rx,y+ry,PT_FIRE);
parts[r>>8].temp = restrict_flt(ptypes[PT_FIRE].heat + (ptypes[rt].flammable/2), MIN_TEMP, MAX_TEMP);
parts[r>>8].life = rand()%80+180;
+ parts[r>>8].tmp = parts[r>>8].ctype = 0;
if (ptypes[rt].explosive)
pv[y/CELL][x/CELL] += 0.25f * CFDS;
continue;