summaryrefslogtreecommitdiff
path: root/src/elements
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements')
-rw-r--r--src/elements/bcol.c1
-rw-r--r--src/elements/coal.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/elements/bcol.c b/src/elements/bcol.c
index 2bf89be..de394bc 100644
--- a/src/elements/bcol.c
+++ b/src/elements/bcol.c
@@ -28,6 +28,7 @@ int update_BCOL(UPDATE_FUNC_ARGS) {
if (parts[r>>8].ctype == PT_IRON) {
parts[r>>8].ctype = PT_METL;
kill_part(i);
+ return 1;
}
}
}
diff --git a/src/elements/coal.c b/src/elements/coal.c
index c73f49c..424a1a1 100644
--- a/src/elements/coal.c
+++ b/src/elements/coal.c
@@ -35,6 +35,7 @@ int update_COAL(UPDATE_FUNC_ARGS) {
if (parts[r>>8].ctype == PT_IRON) {
parts[r>>8].ctype = PT_METL;
kill_part(i);
+ return 1;
}
}
}