diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/powder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/powder.c b/src/powder.c index 36de448..e7afe4e 100644 --- a/src/powder.c +++ b/src/powder.c @@ -1707,6 +1707,7 @@ void update_particles_i(pixel *vid, int start, int inc) if (aheat_enable) { c_heat = (hv[y/CELL][x/CELL]-parts[i].temp)*0.04; + c_heat = restrict_flt(c_heat, -MAX_TEMP+MIN_TEMP, MAX_TEMP-MIN_TEMP); parts[i].temp += c_heat; hv[y/CELL][x/CELL] -= c_heat; } |
