diff options
| author | savask <savask@yandex.ru> | 2012-04-17 14:26:48 (GMT) |
|---|---|---|
| committer | savask <savask@yandex.ru> | 2012-04-17 14:28:42 (GMT) |
| commit | ff8ce0ef3a969432cfb29dea89a6f88903e4e88c (patch) | |
| tree | 9ab88605c64c9795e82e0fe8a76687dee2e6f1a6 /src | |
| parent | b533e53a8650b0bb99c478bf4f67a080bfbc5e32 (diff) | |
| download | powder-ff8ce0ef3a969432cfb29dea89a6f88903e4e88c.zip powder-ff8ce0ef3a969432cfb29dea89a6f88903e4e88c.tar.gz | |
A small fix for convection.
Diffstat (limited to 'src')
| -rw-r--r-- | src/powder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/powder.c b/src/powder.c index ffe5d95..4d4787c 100644 --- a/src/powder.c +++ b/src/powder.c @@ -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) { |
