summaryrefslogtreecommitdiff
path: root/src/elements
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements')
-rw-r--r--src/elements/bcol.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/elements/bcol.c b/src/elements/bcol.c
index 5be50d9..8482b98 100644
--- a/src/elements/bcol.c
+++ b/src/elements/bcol.c
@@ -23,6 +23,13 @@ int update_BCOL(UPDATE_FUNC_ARGS) {
parts[i].life = 99;
}
}
+ if ((r&0xFF)==PT_LAVA && 1>(rand()%500))
+ {
+ if (parts[r>>8].ctype == 76) {
+ parts[r>>8].ctype = 14;
+ kill_part(i);
+ }
+ }
}
return 0;
}