From 29aab750e5d29eea87ea5698ca997820670c035d Mon Sep 17 00:00:00 2001 From: jacksonmj Date: Fri, 22 Jun 2012 22:16:00 +0100 Subject: Only create one NBLE particle for each fusing H2 particle 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; } -- cgit v0.9.2-21-gd62e