Only create one NBLE particle for each fusing H2 particle
This commit is contained in:
parent
287822229f
commit
29aab750e5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user