summaryrefslogtreecommitdiff
path: root/src/elements
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2012-06-22 21:16:00 (GMT)
committer jacksonmj <mj-pt@jacksonmj.co.uk>2012-06-22 23:10:39 (GMT)
commit29aab750e5d29eea87ea5698ca997820670c035d (patch)
treedc3cc8aa0c563aa788dfd1bd7c58b06bc14a25b0 /src/elements
parent287822229fec43c49f6952797ac249b4558fcb26 (diff)
downloadpowder-29aab750e5d29eea87ea5698ca997820670c035d.zip
powder-29aab750e5d29eea87ea5698ca997820670c035d.tar.gz
Only create one NBLE particle for each fusing H2 particle
Diffstat (limited to 'src/elements')
-rw-r--r--src/elements/h2.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/elements/h2.c b/src/elements/h2.c
index 5be3ecc..833ee7c 100644
--- a/src/elements/h2.c
+++ b/src/elements/h2.c
@@ -66,12 +66,6 @@ int update_H2(UPDATE_FUNC_ARGS)
j = create_part(-3,x+rand()%3-1,y+rand()%3-1,PT_PLSM); if (j != -1) parts[j].temp = temp;
- if (rand()%2)
- {
- j = 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;
pv[y/CELL][x/CELL] += 30;
}