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/elec.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/elec.c')
| -rw-r--r-- | src/elements/elec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/elec.c b/src/elements/elec.c index 6acbbab..a5c254f 100644 --- a/src/elements/elec.c +++ b/src/elements/elec.c @@ -79,7 +79,7 @@ int update_ELEC(UPDATE_FUNC_ARGS) { kill_part(i); return 1; } - if (ptypes[r&0xFF].properties & PROP_CONDUCTS) + if (ptypes[r&0xFF].properties & PROP_CONDUCTS && ((r&0xFF)!=PT_H2||parts[i].tmp!=1)) { create_part(-1, x+rx, y+ry, PT_SPRK); kill_part(i); |
