diff options
| author | Jacob1 <jfu614@gmail.com> | 2012-03-14 23:20:27 (GMT) |
|---|---|---|
| committer | Jacob1 <jfu614@gmail.com> | 2012-03-14 23:20:27 (GMT) |
| commit | dc688470a656c70757581e932eda7e0ea69f85bb (patch) | |
| tree | d4d567977016f9dc540142410850f6bc5bd35998 /src/powder.c | |
| parent | d74e2810034e63e221d667c22b49772ab1a3af22 (diff) | |
| download | powder-dc688470a656c70757581e932eda7e0ea69f85bb.zip powder-dc688470a656c70757581e932eda7e0ea69f85bb.tar.gz | |
soap lines, create_parts fix, compiling fixes
Diffstat (limited to 'src/powder.c')
| -rw-r--r-- | src/powder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/powder.c b/src/powder.c index 13924d3..1a472eb 100644 --- a/src/powder.c +++ b/src/powder.c @@ -2724,7 +2724,7 @@ void create_box(int x1, int y1, int x2, int y2, int c, int flags) } for (j=y1; j<=y2; j++) for (i=x1; i<=x2; i++) - create_parts(i, j, 0, 0, c, flags); + create_parts(i, j, 0, 0, c, flags, 1); } int flood_prop_2(int x, int y, size_t propoffset, void * propvalue, int proptype, int parttype, char * bitmap) @@ -2849,7 +2849,7 @@ int flood_parts(int x, int y, int fullc, int cm, int bm, int flags) if (create_part(-1,x, y, fullc)==-1) return 0; } - else if (!create_parts(x, y, 0, 0, fullc, flags)) + else if (!create_parts(x, y, 0, 0, fullc, flags, 1)) return 0; } // fill children |
