summaryrefslogtreecommitdiff
path: root/src/simulation/elements
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulation/elements')
-rw-r--r--src/simulation/elements/IRON.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simulation/elements/IRON.cpp b/src/simulation/elements/IRON.cpp
index 9614cd7..6551c2f 100644
--- a/src/simulation/elements/IRON.cpp
+++ b/src/simulation/elements/IRON.cpp
@@ -79,6 +79,7 @@ int Element_IRON::update(UPDATE_FUNC_ARGS)
break;
}
}
+ return 0;
succ:
sim->part_change_type(i,x,y,PT_BMTL);
parts[i].tmp=(rand()%10)+20;