TPT: Only create one NBLE particle for each fusing H2 particle 29aab750e5

This commit is contained in:
Simon Robertshaw 2012-07-25 18:01:58 +01:00
parent 971fbc71f9
commit 0b77f1b2ed

View File

@ -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;
}