From 8ca13238d00fd413efcd9714fe068c20a18be638 Mon Sep 17 00:00:00 2001 From: jacksonmj Date: Mon, 21 May 2012 21:15:13 +0100 Subject: [PATCH] Prevent solid particles stacking in E-Hole Such as occurs when cloning a solid in E-Hole --- src/powder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/powder.c b/src/powder.c index dc8bb3bbf..289851a05 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;