summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorJacob1 <jfu614@gmail.com>2012-03-14 23:20:27 (GMT)
committer Jacob1 <jfu614@gmail.com>2012-03-14 23:20:27 (GMT)
commitdc688470a656c70757581e932eda7e0ea69f85bb (patch)
treed4d567977016f9dc540142410850f6bc5bd35998 /src/main.c
parentd74e2810034e63e221d667c22b49772ab1a3af22 (diff)
downloadpowder-dc688470a656c70757581e932eda7e0ea69f85bb.zip
powder-dc688470a656c70757581e932eda7e0ea69f85bb.tar.gz
soap lines, create_parts fix, compiling fixes
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index bc908de..3ca7ff9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2371,7 +2371,7 @@ int main(int argc, char *argv[])
if (c!=WL_STREAM+100&&c!=SPC_AIR&&c!=SPC_HEAT&&c!=SPC_COOL&&c!=SPC_VACUUM&&!REPLACE_MODE&&c!=SPC_WIND&&c!=SPC_PGRV&&c!=SPC_NGRV)
flood_parts(x, y, c, -1, -1, get_brush_flags());
if (c==SPC_HEAT || c==SPC_COOL)
- create_parts(x, y, bsx, bsy, c, get_brush_flags());
+ create_parts(x, y, bsx, bsy, c, get_brush_flags(), 1);
lx = x;
ly = y;
lb = 0;
@@ -2424,7 +2424,7 @@ int main(int argc, char *argv[])
cb_bmap[cby][cbx] = bmap[cby][cbx];
cb_emap[cby][cbx] = emap[cby][cbx];
}
- create_parts(x, y, bsx, bsy, c, get_brush_flags());
+ create_parts(x, y, bsx, bsy, c, get_brush_flags(), 1);
lx = x;
ly = y;
lb = b;