A small fix for convection.
This commit is contained in:
parent
b533e53a86
commit
ff8ce0ef3a
@ -1846,7 +1846,7 @@ void update_particles_i(pixel *vid, 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user