diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-05-21 20:15:13 (GMT) |
|---|---|---|
| committer | jacksonmj <mj-pt@jacksonmj.co.uk> | 2012-06-09 10:18:21 (GMT) |
| commit | 8ca13238d00fd413efcd9714fe068c20a18be638 (patch) | |
| tree | 653cf6bd60a90ecfdf3f570fa52ad728636ba67f /src | |
| parent | 8b20bfd764308fddc1280b8a9d030e77503d0b0c (diff) | |
| download | powder-8ca13238d00fd413efcd9714fe068c20a18be638.zip powder-8ca13238d00fd413efcd9714fe068c20a18be638.tar.gz | |
Prevent solid particles stacking in E-Hole
Such as occurs when cloning a solid in E-Hole
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 dc8bb3b..289851a 100644 --- a/src/powder.c +++ b/src/powder.c @@ -231,7 +231,7 @@ int eval_move(int pt, int nx, int ny, unsigned *rr) return 0; if (bmap[ny/CELL][nx/CELL]==WL_EWALL && !emap[ny/CELL][nx/CELL]) return 0; - if (bmap[ny/CELL][nx/CELL]==WL_EHOLE && !emap[ny/CELL][nx/CELL]) + if (bmap[ny/CELL][nx/CELL]==WL_EHOLE && !emap[ny/CELL][nx/CELL] && !(ptypes[pt].properties&TYPE_SOLID) && !(ptypes[r&0xFF].properties&TYPE_SOLID)) return 2; } return result; |
