From 0b77f1b2edfd0bc5fa998bc195f9ce7243ef76e7 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Wed, 25 Jul 2012 18:01:58 +0100 Subject: [PATCH] TPT: Only create one NBLE particle for each fusing H2 particle 29aab750e5d --- src/simulation/elements/H2.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/simulation/elements/H2.cpp b/src/simulation/elements/H2.cpp index f4f28220b..f7244b0cd 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; }