summaryrefslogtreecommitdiff
path: root/src/simulation/elements
diff options
context:
space:
mode:
authorSimon 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)
commit0b77f1b2edfd0bc5fa998bc195f9ce7243ef76e7 (patch)
tree2aaa591c20364132ccdbf012583ea6a51ff7ff55 /src/simulation/elements
parent971fbc71f94a85298e3a688ca772e7bb5de90ed6 (diff)
downloadpowder-0b77f1b2edfd0bc5fa998bc195f9ce7243ef76e7.zip
powder-0b77f1b2edfd0bc5fa998bc195f9ce7243ef76e7.tar.gz
TPT: Only create one NBLE particle for each fusing H2 particle 29aab750e5d
Diffstat (limited to 'src/simulation/elements')
-rw-r--r--src/simulation/elements/H2.cpp6
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;
}