diff options
| author | Jacob1 <jfu614@gmail.com> | 2012-03-14 23:33:10 (GMT) |
|---|---|---|
| committer | Jacob1 <jfu614@gmail.com> | 2012-03-14 23:33:10 (GMT) |
| commit | 83d4658589d366a8a708d64c912c128bcebb9d1c (patch) | |
| tree | 487f6e796b397a185fe8abc927a218d247e6d33e /src/elements/pyro.c | |
| parent | 446f773542c2a025a86b0d022c086efbdb86474d (diff) | |
| download | powder-83d4658589d366a8a708d64c912c128bcebb9d1c.zip powder-83d4658589d366a8a708d64c912c128bcebb9d1c.tar.gz | |
prevent ionizing NBLE and burning H2 during fusion
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 aa386eb..003c8f8 100644 --- a/src/elements/pyro.c +++ b/src/elements/pyro.c @@ -46,7 +46,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].tmp!=1) && + (rt!=PT_H2 || (parts[r>>8].temp < 2273.15 && pv[y/CELL][x/CELL] < 50.0f)) && 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); |
