diff options
| author | Bryan Hoyle <starfoxprime@gmail.com> | 2011-08-12 16:25:16 (GMT) |
|---|---|---|
| committer | Bryan Hoyle <starfoxprime@gmail.com> | 2011-08-12 16:25:16 (GMT) |
| commit | ca66525bea67de164603163752aee0212d59df34 (patch) | |
| tree | 6aa6a2481c784d0b654c1981091f7628839149c3 /src | |
| parent | 89605f3deb967f07f12d964ff62dff5d6f369c0d (diff) | |
| download | powder-ca66525bea67de164603163752aee0212d59df34.zip powder-ca66525bea67de164603163752aee0212d59df34.tar.gz | |
I thought Rand_max was smaller, fixed h2 burn temp down to about 2200 Celcius instead of 9000...
Diffstat (limited to 'src')
| -rw-r--r-- | src/elements/h2.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
