fix PBCN(LIGH)
This commit is contained in:
parent
ccec5fbff4
commit
3a76c1cadf
@ -134,7 +134,7 @@ int Element_PBCN::update(UPDATE_FUNC_ARGS)
|
||||
|
||||
else if (parts[i].ctype!=PT_LIGH || !(rand()%30))
|
||||
{
|
||||
int np = sim->create_part(-1, x+rand()%3-1, y+rand()%3-1, parts[i].ctype&0xFF, parts[i].ctype>>8);
|
||||
int np = sim->create_part(-1, x+rand()%3-1, y+rand()%3-1, parts[i].ctype&0xFF);
|
||||
if (np>-1)
|
||||
{
|
||||
if (parts[i].ctype==PT_LAVA && parts[i].tmp>0 && parts[i].tmp<PT_NUM && sim->elements[parts[i].tmp].HighTemperatureTransition==PT_LAVA)
|
||||
|
Loading…
Reference in New Issue
Block a user