diff options
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 d2e36b9..ca094aa 100644 --- a/src/powder.c +++ b/src/powder.c @@ -798,7 +798,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] || bmap[y/CELL][x/CELL]) && !eval_move(t, x, y, NULL)) + if ((pmap[y][x] || bmap[y/CELL][x/CELL]) && eval_move(t, x, y, NULL)!=2) { if ((pmap[y][x]&0xFF)!=PT_SPAWN&&(pmap[y][x]&0xFF)!=PT_SPAWN2) { |
