summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/powder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/powder.c b/src/powder.c
index 1943615..79c1bd4 100644
--- a/src/powder.c
+++ b/src/powder.c
@@ -73,7 +73,7 @@ int try_move(int i, int x, int y, int nx, int ny)
if(!e) {
if(!legacy_enable) {
if((r >> 8) < PT_NUM)
- | parts[r>>8].temp = restrict_flt(parts[r>>8].temp+parts[i].temp/2, MIN_TEMP, MAX_TEMP);;
+ parts[i].temp = parts[r>>8].temp = restrict_flt(parts[r>>8].temp+parts[i].temp/2, MIN_TEMP, MAX_TEMP);
}
return 0;
}