diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-25 14:05:55 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-25 14:05:55 (GMT) |
| commit | fad383f3923cc04fb8b2ecd7a72cf5406832cf5d (patch) | |
| tree | 95e7d43ea1baa3cb556ed13849da3df69bd3c1dc /src/simulation/elements/ELEC.cpp | |
| parent | a03e92830a429e89d2c516e9b63eb44ab49e8417 (diff) | |
| download | powder-fad383f3923cc04fb8b2ecd7a72cf5406832cf5d.zip powder-fad383f3923cc04fb8b2ecd7a72cf5406832cf5d.tar.gz | |
TPT: Update to EXOT that makes it permeable to neutrons as well as electro... a104696620
Diffstat (limited to 'src/simulation/elements/ELEC.cpp')
| -rw-r--r-- | src/simulation/elements/ELEC.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/simulation/elements/ELEC.cpp b/src/simulation/elements/ELEC.cpp index c644f2f..4dd17be 100644 --- a/src/simulation/elements/ELEC.cpp +++ b/src/simulation/elements/ELEC.cpp @@ -128,7 +128,10 @@ int Element_ELEC::update(UPDATE_FUNC_ARGS) return 1; } if ((r&0xFF)==PT_EXOT) + { parts[r>>8].tmp2 += 5; + parts[r>>8].life = 1000; + } if ((sim->elements[r&0xFF].Properties & PROP_CONDUCTS) && ((r&0xFF)!=PT_NBLE||parts[i].temp<2273.15)) { sim->create_part(-1, x+rx, y+ry, PT_SPRK); |
