Only create one NBLE particle for each fusing H2 particle

This commit is contained in:
jacksonmj 2012-06-22 22:16:00 +01:00
parent 287822229f
commit 29aab750e5

View File

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