diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-25 17:01:58 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-07-25 17:01:58 (GMT) |
| commit | 0b77f1b2edfd0bc5fa998bc195f9ce7243ef76e7 (patch) | |
| tree | 2aaa591c20364132ccdbf012583ea6a51ff7ff55 | |
| parent | 971fbc71f94a85298e3a688ca772e7bb5de90ed6 (diff) | |
| download | powder-0b77f1b2edfd0bc5fa998bc195f9ce7243ef76e7.zip powder-0b77f1b2edfd0bc5fa998bc195f9ce7243ef76e7.tar.gz | |
TPT: Only create one NBLE particle for each fusing H2 particle 29aab750e5d
| -rw-r--r-- | src/simulation/elements/H2.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/simulation/elements/H2.cpp b/src/simulation/elements/H2.cpp index f4f2822..f7244b0 100644 --- a/src/simulation/elements/H2.cpp +++ b/src/simulation/elements/H2.cpp @@ -99,12 +99,6 @@ int Element_H2::update(UPDATE_FUNC_ARGS) j = sim->create_part(-3,x+rand()%3-1,y+rand()%3-1,PT_PLSM); if (j != -1) parts[j].temp = temp; - if (rand()%2) - { - j = sim->create_part(-3,x+rand()%3-1,y+rand()%3-1,PT_NBLE); - if (j != -1) { parts[j].tmp = 1; parts[j].temp = temp; } - } - parts[i].temp = temp+750+rand()%500; sim->pv[y/CELL][x/CELL] += 30; } |
