diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/powder.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/powder.c b/src/powder.c index a1187b1..700a6d5 100644 --- a/src/powder.c +++ b/src/powder.c @@ -344,7 +344,8 @@ int try_move(int i, int x, int y, int nx, int ny) } if ((r&0xFF)==PT_VOID || (r&0xFF)==PT_PVOD) //this is where void eats particles { - kill_part(i); + if(!parts[r>>8].ctype || (parts[r>>8].ctype==parts[i].type)!=(parts[r>>8].tmp&1)) + kill_part(i); return 0; } if ((r&0xFF)==PT_BHOL || (r&0xFF)==PT_NBHL) //this is where blackhole eats particles |
