From 7d7bf5eff6c8217b9945117aff359c9c04c6d26f Mon Sep 17 00:00:00 2001 From: Sourec Date: Fri, 5 Jun 2015 21:40:28 -0400 Subject: [PATCH] Fixed CLST tmp value carrying over when converted by water --- src/simulation/elements/CLST.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/simulation/elements/CLST.cpp b/src/simulation/elements/CLST.cpp index b8edcf33d..214c200af 100644 --- a/src/simulation/elements/CLST.cpp +++ b/src/simulation/elements/CLST.cpp @@ -62,6 +62,7 @@ int Element_CLST::update(UPDATE_FUNC_ARGS) { if (!(rand()%1500)) { + parts[i].tmp = 0; sim->part_change_type(i,x,y,PT_PSTS); sim->kill_part(r>>8); }