Fix H2+O2 Plasma that doesn't make water
This commit is contained in:
parent
eab192c605
commit
ed75259f54
@ -23,6 +23,15 @@ int update_PYRO(UPDATE_FUNC_ARGS) {
|
||||
parts[i].life = rand()%20+250;
|
||||
}
|
||||
}
|
||||
if(t==PT_PLSM && parts[i].life <=1)
|
||||
{
|
||||
if (parts[i].tmp==3){
|
||||
t = PT_DSTW;
|
||||
part_change_type(i,x,y,t);
|
||||
parts[i].life = 0;
|
||||
parts[i].ctype = PT_FIRE;
|
||||
}
|
||||
}
|
||||
for (rx=-2; rx<3; rx++)
|
||||
for (ry=-2; ry<3; ry++)
|
||||
if (x+rx>=0 && y+ry>0 && x+rx<XRES && y+ry<YRES && (rx || ry))
|
||||
|
Reference in New Issue
Block a user