diff --git a/src/simulation/elements/STKM.cpp b/src/simulation/elements/STKM.cpp index ca564a3b8..fb0ade0a1 100644 --- a/src/simulation/elements/STKM.cpp +++ b/src/simulation/elements/STKM.cpp @@ -510,6 +510,18 @@ void Element_STKM::STKM_interact(Simulation * sim, playerst* playerp, int i, int break; } } + if (((r&0xFF)==PT_BHOL || (r&0xFF)==PT_NBHL) && parts[i].type) + { + if (!sim->legacy_enable) + { + parts[r>>8].temp = restrict_flt(parts[r>>8].temp+parts[i].temp/2, MIN_TEMP, MAX_TEMP); + } + sim->kill_part(i); + } + if (((r&0xFF)==PT_VOID || ((r&0xFF)==PT_PVOD && parts[r>>8].life==10)) && (!parts[r>>8].ctype || (parts[r>>8].ctype==parts[i].type)!=(parts[r>>8].tmp&1)) && parts[i].type) + { + sim->kill_part(i); + } } }