mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-01-17 22:38:38 +01:00
supposed fix for photon heat
This commit is contained in:
parent
b7f8fd4ba6
commit
b501e45705
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user