diff options
| author | jacksonmj <mj-pt@jacksonmj.co.uk> | 2011-08-30 00:16:42 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-08-30 11:34:28 (GMT) |
| commit | e50693465590cfe1abed42b8e823fddd48dd160b (patch) | |
| tree | 576b98ac2a3bd877936336924d26696029c11015 /src/powder.c | |
| parent | df504330e274a21e841d9457d4f1847438f2dde8 (diff) | |
| download | powder-e50693465590cfe1abed42b8e823fddd48dd160b.zip powder-e50693465590cfe1abed42b8e823fddd48dd160b.tar.gz | |
Always check bmap when creating particles
Diffstat (limited to 'src/powder.c')
| -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 3b76a5d..36de448 100644 --- a/src/powder.c +++ b/src/powder.c @@ -732,7 +732,7 @@ inline int create_part(int p, int x, int y, int tv)//the function for creating a return -1; if (p==-1)//creating from anything but brush { - if (pmap[y][x]) + if (pmap[y][x] || (bmap[y/CELL][x/CELL] && !eval_move(t, x, y, NULL))) { if ((pmap[y][x]&0xFF)!=PT_SPAWN&&(pmap[y][x]&0xFF)!=PT_SPAWN2) { |
