mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-13 11:54:04 +02:00
TPT: No unmeltable ice anymore. e4448dc1d6
This commit is contained in:
@@ -2689,7 +2689,7 @@ void Simulation::update_particles_i(int start, int inc)
|
||||
s = 1;
|
||||
|
||||
//A fix for ice with ctype = 0
|
||||
if (t==PT_ICEI && parts[i].ctype==0)
|
||||
if (t==PT_ICEI && (parts[i].ctype==0 || parts[i].ctype>=PT_NUM || parts[i].ctype==PT_ICEI))
|
||||
parts[i].ctype = PT_WATR;
|
||||
|
||||
if (ctemph>ptransitions[t].thv&&ptransitions[t].tht>-1) {
|
||||
|
Reference in New Issue
Block a user