summaryrefslogtreecommitdiff
path: root/src/elements/O2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/O2.c')
-rw-r--r--src/elements/O2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/elements/O2.c b/src/elements/O2.c
index be5da42..2584d3a 100644
--- a/src/elements/O2.c
+++ b/src/elements/O2.c
@@ -15,6 +15,9 @@ int update_O2(UPDATE_FUNC_ARGS)
{
parts[r>>8].temp+=(rand()/(RAND_MAX/100));
parts[r>>8].tmp |= 2;
+ }
+ if ((r&0xFF)==PT_FIRE || (r&0xFF)==PT_PLSM)
+ {
create_part(i,x,y,PT_FIRE);
parts[i].temp+=(rand()/(RAND_MAX/100));
parts[i].tmp |= 2;