One If added to Carb water that always explodes when under -0.5 pressure. Even strong explosions don't seem to cause this when water's held in containers, which -should- limit this to vacuum or wind effects. Still testing with.
This commit is contained in:
parent
07f8087907
commit
026e613ac6
@ -11,6 +11,12 @@ int update_CBNW(UPDATE_FUNC_ARGS) {
|
||||
parts[i].ctype = 5;
|
||||
pv[y/CELL][x/CELL] += 0.5f;
|
||||
}
|
||||
else if(pv[y/CELL][x/CELL]<=-0.5)
|
||||
{
|
||||
part_change_type(i,x,y,PT_CO2);
|
||||
parts[i].ctype = 5;
|
||||
pv[y/CELL][x/CELL] += 0.5f;
|
||||
}
|
||||
}
|
||||
if (parts[i].tmp>0)
|
||||
parts[i].tmp--;
|
||||
|
Reference in New Issue
Block a user