summaryrefslogtreecommitdiff
path: root/src/elements/pipe.c
diff options
context:
space:
mode:
authorjacksonmj <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)
commite50693465590cfe1abed42b8e823fddd48dd160b (patch)
tree576b98ac2a3bd877936336924d26696029c11015 /src/elements/pipe.c
parentdf504330e274a21e841d9457d4f1847438f2dde8 (diff)
downloadpowder-e50693465590cfe1abed42b8e823fddd48dd160b.zip
powder-e50693465590cfe1abed42b8e823fddd48dd160b.tar.gz
Always check bmap when creating particles
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)