TPT: Only create one NBLE particle for each fusing H2 particle 29aab750e5
This commit is contained in:
parent
971fbc71f9
commit
0b77f1b2ed
@ -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;
|
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;
|
parts[i].temp = temp+750+rand()%500;
|
||||||
sim->pv[y/CELL][x/CELL] += 30;
|
sim->pv[y/CELL][x/CELL] += 30;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user