diff options
| author | Jacob1 <jfu614@gmail.com> | 2012-05-23 23:53:50 (GMT) |
|---|---|---|
| committer | Jacob1 <jfu614@gmail.com> | 2012-05-23 23:53:50 (GMT) |
| commit | 1026963293716c8d340fcb857c0af092af92aa11 (patch) | |
| tree | 6649ab39b146da9c9f56e6369227708e64fa837d /src/elements/pyro.c | |
| parent | 0799c2e09d2e7a4237b393c8eaa61031418ec402 (diff) | |
| download | powder-1026963293716c8d340fcb857c0af092af92aa11.zip powder-1026963293716c8d340fcb857c0af092af92aa11.tar.gz | |
fusion changes
Diffstat (limited to 'src/elements/pyro.c')
| -rw-r--r-- | src/elements/pyro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/pyro.c b/src/elements/pyro.c index 854e62d..c09dd63 100644 --- a/src/elements/pyro.c +++ b/src/elements/pyro.c @@ -61,7 +61,7 @@ int update_PYRO(UPDATE_FUNC_ARGS) { (t!=PT_SPRK || (rt!=PT_RBDM && rt!=PT_LRBD && rt!=PT_INSL)) && (t!=PT_PHOT || rt!=PT_INSL) && (rt!=PT_SPNG || parts[r>>8].life==0) && - (rt!=PT_H2 || (parts[r>>8].temp < 2273.15 && pv[y/CELL][x/CELL] < 50.0f)) && + (rt!=PT_H2 || parts[r>>8].temp < 2273.15) && ptypes[rt].flammable && (ptypes[rt].flammable + (int)(pv[(y+ry)/CELL][(x+rx)/CELL]*10.0f))>(rand()%1000)) { part_change_type(r>>8,x+rx,y+ry,PT_FIRE); |
