From ca42162e5efd5a81870878be605cf8a803ac1afb Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 4 Nov 2012 16:31:13 -0500 Subject: [PATCH] fix heat release during explosion --- src/simulation/elements/VIBR.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/simulation/elements/VIBR.cpp b/src/simulation/elements/VIBR.cpp index e6ee08294..35ba93061 100644 --- a/src/simulation/elements/VIBR.cpp +++ b/src/simulation/elements/VIBR.cpp @@ -144,8 +144,8 @@ int Element_VIBR::update(UPDATE_FUNC_ARGS) { r = pmap[y+ry][x+rx]; if ((r&0xFF) && (r&0xFF) != parts[i].type) { - parts[r>>8].temp += parts[i].tmp*6; - parts[i].tmp -= parts[i].tmp*2; + parts[r>>8].temp += parts[i].tmp*3; + parts[i].tmp = 0; } } }