summaryrefslogtreecommitdiff
path: root/src/simulation/elements/C5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulation/elements/C5.cpp')
-rw-r--r--src/simulation/elements/C5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/elements/C5.cpp b/src/simulation/elements/C5.cpp
index e7d8f22..28e2055 100644
--- a/src/simulation/elements/C5.cpp
+++ b/src/simulation/elements/C5.cpp
@@ -57,7 +57,7 @@ int Element_C5::update(UPDATE_FUNC_ARGS)
r = pmap[y+ry][x+rx];
if (!r)
continue;
- if (((r&0xFF)!=PT_C5 && parts[r>>8].temp<100)||(r&0xFF)==PT_HFLM)
+ if (((r&0xFF)!=PT_C5 && parts[r>>8].temp<100 && sim->elements[r&0xFF].HeatConduct && ((r&0xFF)!=PT_HSWC||parts[r>>8].life==10)) || (r&0xFF)==PT_HFLM)
{
if (1>rand()%6)
{