I thought Rand_max was smaller, fixed h2 burn temp down to about 2200 Celcius instead of 9000...
This commit is contained in:
parent
89605f3deb
commit
ca66525bea
@ -18,7 +18,7 @@ int update_H2(UPDATE_FUNC_ARGS)
|
|||||||
}
|
}
|
||||||
if ((r&0xFF)==PT_FIRE)
|
if ((r&0xFF)==PT_FIRE)
|
||||||
{
|
{
|
||||||
parts[r>>8].temp+=(rand()/(RAND_MAX/100))+2000;
|
parts[r>>8].temp=2473.15;
|
||||||
if(parts[r>>8].tmp&0x02)
|
if(parts[r>>8].tmp&0x02)
|
||||||
parts[r>>8].temp=3473;
|
parts[r>>8].temp=3473;
|
||||||
parts[r>>8].tmp |= 1;
|
parts[r>>8].tmp |= 1;
|
||||||
|
Reference in New Issue
Block a user