Realistic burn temp for O2 and H2 reaction ~~3200 Celcius
This commit is contained in:
parent
62bd61edae
commit
f5cb03d424
@ -14,6 +14,8 @@ int update_O2(UPDATE_FUNC_ARGS)
|
||||
if ((r&0xFF)==PT_FIRE)
|
||||
{
|
||||
parts[r>>8].temp+=(rand()/(RAND_MAX/100));
|
||||
if(parts[r>>8].tmp&0x01)
|
||||
parts[r>>8].temp=3473;
|
||||
parts[r>>8].tmp |= 2;
|
||||
}
|
||||
if ((r&0xFF)==PT_FIRE || (r&0xFF)==PT_PLSM)
|
||||
|
@ -19,6 +19,8 @@ int update_H2(UPDATE_FUNC_ARGS)
|
||||
if ((r&0xFF)==PT_FIRE)
|
||||
{
|
||||
parts[r>>8].temp+=(rand()/(RAND_MAX/100));
|
||||
if(parts[r>>8].tmp&0x02)
|
||||
parts[r>>8].temp=3473;
|
||||
parts[r>>8].tmp |= 1;
|
||||
}
|
||||
if ((r&0xFF)==PT_FIRE || (r&0xFF)==PT_PLSM || (r&0xFF)==PT_LAVA)
|
||||
|
Loading…
Reference in New Issue
Block a user