mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-02 06:30:31 +02:00
Fix the bug where you could set "bad" temp to insulators.
This commit is contained in:
@@ -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)
|
if (t==PT_LIFE)
|
||||||
|
Reference in New Issue
Block a user