diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2011-06-04 13:44:14 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-06-08 11:47:03 (GMT) |
| commit | 2ddb24d5b0dd8ea831a8ce5e84c8335165768c7b (patch) | |
| tree | d06b191e5be4da6a9a8403fb8c0477c09d0f58da /src/elements | |
| parent | 1b5ff237c048aa83e3743e2891fb45eb5ef03fd3 (diff) | |
| download | powder-2ddb24d5b0dd8ea831a8ce5e84c8335165768c7b.zip powder-2ddb24d5b0dd8ea831a8ce5e84c8335165768c7b.tar.gz | |
Fix WL_DESTROYALL for fast particles; and no H2 ignition from SPRK
H2 igniting from spark causes too many problems for electrolysis
Diffstat (limited to 'src/elements')
| -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 c474236..336f496 100644 --- a/src/elements/h2.c +++ b/src/elements/h2.c @@ -21,7 +21,7 @@ int update_H2(UPDATE_FUNC_ARGS) parts[r>>8].temp+=(rand()/(RAND_MAX/100)); parts[r>>8].tmp |= 1; } - if ((r&0xFF)==PT_FIRE || (r&0xFF)==PT_PLSM || (r&0xFF)==PT_SPRK || (r&0xFF)==PT_LAVA) + if ((r&0xFF)==PT_FIRE || (r&0xFF)==PT_PLSM || (r&0xFF)==PT_LAVA) { create_part(i,x,y,PT_FIRE); parts[i].temp+=(rand()/(RAND_MAX/100)); |
