H2 burns from spark, lava, plasma; O2 burns from plasma
This commit is contained in:
parent
a7b5718c6a
commit
9a3836879e
@ -15,6 +15,9 @@ int update_O2(UPDATE_FUNC_ARGS)
|
||||
{
|
||||
parts[r>>8].temp+=(rand()/(RAND_MAX/100));
|
||||
parts[r>>8].tmp |= 2;
|
||||
}
|
||||
if ((r&0xFF)==PT_FIRE || (r&0xFF)==PT_PLSM)
|
||||
{
|
||||
create_part(i,x,y,PT_FIRE);
|
||||
parts[i].temp+=(rand()/(RAND_MAX/100));
|
||||
parts[i].tmp |= 2;
|
||||
|
@ -20,6 +20,9 @@ int update_H2(UPDATE_FUNC_ARGS)
|
||||
{
|
||||
parts[r>>8].temp+=(rand()/(RAND_MAX/100));
|
||||
parts[r>>8].tmp |= 1;
|
||||
}
|
||||
if ((r&0xFF)==PT_FIRE || (r&0xFF)==PT_PLSM || (r&0xFF)==PT_SPRK || (r&0xFF)==PT_LAVA)
|
||||
{
|
||||
create_part(i,x,y,PT_FIRE);
|
||||
parts[i].temp+=(rand()/(RAND_MAX/100));
|
||||
parts[i].tmp |= 1;
|
||||
|
Reference in New Issue
Block a user