summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/powder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/powder.c b/src/powder.c
index ca629cf..289c3a7 100644
--- a/src/powder.c
+++ b/src/powder.c
@@ -791,7 +791,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))
{
if ((pmap[y][x]&0xFF)!=PT_SPAWN&&(pmap[y][x]&0xFF)!=PT_SPAWN2)
{