summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2012-01-19 23:19:39 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-25 13:33:21 (GMT)
commit44545d4c96309092d5980b5fcb8ed4187219cf8a (patch)
tree22a8f2f9f0a48a5f7bdbfa94a4314140f631ed0c /src/main.c
parent509f1d2139358b0d7c81851fc5fd3e3da7566393 (diff)
downloadpowder-44545d4c96309092d5980b5fcb8ed4187219cf8a.zip
powder-44545d4c96309092d5980b5fcb8ed4187219cf8a.tar.gz
Solids wall description, and check build_save was successful when saving a stamp
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 5abc139..036bdf1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -402,6 +402,8 @@ void stamp_save(int x, int y, int w, int h)
int n;
char fn[64], sn[16];
void *s=build_save(&n, x, y, w, h, bmap, vx, vy, pv, fvx, fvy, signs, parts);
+ if (!s)
+ return;
#ifdef WIN32
_mkdir("stamps");