diff options
Diffstat (limited to 'src/powder.c')
| -rw-r--r-- | src/powder.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/powder.c b/src/powder.c index c03da98..c7d526f 100644 --- a/src/powder.c +++ b/src/powder.c @@ -2250,6 +2250,17 @@ killed: continue; } r = pmap[fin_y][fin_x]; + + if ((r & 0xFF) == PT_PIPE && !(parts[r>>8].tmp&0xFF)) + { + parts[r>>8].tmp = (parts[r>>8].tmp&~0xFF) | parts[i].type; + parts[r>>8].temp = parts[i].temp; + parts[r>>8].flags = parts[i].life; + parts[r>>8].pavg[0] = parts[i].tmp; + parts[r>>8].pavg[1] = parts[i].ctype; + kill_part(i); + continue; + } // this should be replaced with a particle type attribute ("photwl" or something) if ((r & 0xFF) == PT_PSCN) parts[i].ctype = 0x00000000; |
