disable PHOT+H2 reaction during fusion
This commit is contained in:
parent
e1b26346a1
commit
ee093ae3b7
@ -2216,7 +2216,7 @@ int Simulation::try_move(int i, int x, int y, int nx, int ny)
|
|||||||
part_change_type(i, x, y, PT_ELEC);
|
part_change_type(i, x, y, PT_ELEC);
|
||||||
parts[i].ctype = 0;
|
parts[i].ctype = 0;
|
||||||
}
|
}
|
||||||
else if ((r&0xFF) == PT_H2)
|
else if ((r&0xFF) == PT_H2 && pv[y/CELL][x/CELL] < 45.0f)
|
||||||
{
|
{
|
||||||
create_part(i, x, y, PT_PROT);
|
create_part(i, x, y, PT_PROT);
|
||||||
parts[i].tmp2 = 0x1;
|
parts[i].tmp2 = 0x1;
|
||||||
|
Loading…
Reference in New Issue
Block a user