diff options
Diffstat (limited to 'src/simulation/elements/ELEC.cpp')
| -rw-r--r-- | src/simulation/elements/ELEC.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/simulation/elements/ELEC.cpp b/src/simulation/elements/ELEC.cpp index 8ab4af1..56e90b3 100644 --- a/src/simulation/elements/ELEC.cpp +++ b/src/simulation/elements/ELEC.cpp @@ -91,6 +91,7 @@ int Element_ELEC::update(UPDATE_FUNC_ARGS) sim->create_part(r>>8, x+rx, y+ry, PT_H2); return 1; case PT_NEUT: + case PT_PROT: // this is the correct reaction, not NEUT, but leaving NEUT in anyway sim->part_change_type(r>>8, x+rx, y+ry, PT_H2); parts[r>>8].life = 0; parts[r>>8].ctype = 0; @@ -124,8 +125,6 @@ int Element_ELEC::update(UPDATE_FUNC_ARGS) return 0; } - - //#TPT-Directive ElementHeader Element_ELEC static int graphics(GRAPHICS_FUNC_ARGS) int Element_ELEC::graphics(GRAPHICS_FUNC_ARGS) |
