I thought Rand_max was smaller, fixed h2 burn temp down to about 2200 Celcius instead of 9000...

This commit is contained in:
Bryan Hoyle 2011-08-12 12:25:16 -04:00
parent 89605f3deb
commit ca66525bea

View File

@ -18,7 +18,7 @@ int update_H2(UPDATE_FUNC_ARGS)
}
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)
parts[r>>8].temp=3473;
parts[r>>8].tmp |= 1;