From ca66525bea67de164603163752aee0212d59df34 Mon Sep 17 00:00:00 2001 From: Bryan Hoyle Date: Fri, 12 Aug 2011 12:25:16 -0400 Subject: I thought Rand_max was smaller, fixed h2 burn temp down to about 2200 Celcius instead of 9000... diff --git a/src/elements/h2.c b/src/elements/h2.c index 88580a3..04f3d01 100644 --- a/src/elements/h2.c +++ b/src/elements/h2.c @@ -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; -- cgit v0.9.2-21-gd62e