summaryrefslogtreecommitdiff
path: root/src/elements/pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/pipe.c')
-rw-r--r--src/elements/pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/pipe.c b/src/elements/pipe.c
index 6b5a508..54e3fb6 100644
--- a/src/elements/pipe.c
+++ b/src/elements/pipe.c
@@ -130,7 +130,7 @@ int update_PIPE(UPDATE_FUNC_ARGS) {
if (x+rx>=0 && y+ry>=0 && x+rx<XRES && y+ry<YRES)
{
r = pmap[y+ry][x+rx];
- if (surround_space && !r && (parts[i].tmp&0xFF)!=0 && eval_move(parts[i].tmp&0xFF, x+rx, y+ry, NULL)) //creating at end
+ if (surround_space && !r && (parts[i].tmp&0xFF)!=0) //creating at end
{
np = create_part(-1,x+rx,y+ry,parts[i].tmp&0xFF);
if (np!=-1)