TPT: A small fix for convection. ff8ce0ef3a
This commit is contained in:
parent
1fdaabca6d
commit
472cb8916e
@ -2604,7 +2604,7 @@ void Simulation::update_particles_i(int start, int inc)
|
||||
|
||||
if (!legacy_enable)
|
||||
{
|
||||
if (y-2 >= 0 && y-2 < YRES && (ptypes[t].properties&TYPE_LIQUID) && gel_scale>(rand()%250)) {//some heat convection for liquids
|
||||
if (y-2 >= 0 && y-2 < YRES && (ptypes[t].properties&TYPE_LIQUID) && (t!=PT_GEL || gel_scale>(1+rand()%255))) {//some heat convection for liquids
|
||||
r = pmap[y-2][x];
|
||||
if (!(!r || parts[i].type != (r&0xFF))) {
|
||||
if (parts[i].temp>parts[r>>8].temp) {
|
||||
|
Reference in New Issue
Block a user