From 64629df1af70e49300927a2a38df389c4bb4984c Mon Sep 17 00:00:00 2001 From: savask Date: Wed, 18 Apr 2012 16:46:49 +0700 Subject: [PATCH] Fix the bug where you could set "bad" temp to insulators. --- src/powder.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/powder.c b/src/powder.c index ebe8b3da2..98f023aa6 100644 --- a/src/powder.c +++ b/src/powder.c @@ -2123,6 +2123,7 @@ void update_particles_i(pixel *vid, int start, int inc) } } } + else parts[i].temp = restrict_flt(parts[i].temp, MIN_TEMP, MAX_TEMP); } if (t==PT_LIFE)