summaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2011-05-11 21:02:15 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-05-14 12:44:02 (GMT)
commit7fe99f32102429113c671615fc2c5cadb9c51e56 (patch)
treea6b6fa9e9510b9e6ae9d3d838524dee9e1a9ef00 /src/interface.c
parentcbfc73d8d60421c5d64a8cca0961c87bc33146d0 (diff)
downloadpowder-7fe99f32102429113c671615fc2c5cadb9c51e56.zip
powder-7fe99f32102429113c671615fc2c5cadb9c51e56.tar.gz
Pass decorations to saving functions (doesn't actually save yet)
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interface.c b/src/interface.c
index a3ee9bb..2383782 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -3244,7 +3244,7 @@ int open_ui(pixel *vid_buf, char *save_id, char *save_date)
if (queue_open) {
if (info_ready && data_ready) {
// Do Open!
- status = parse_save(data, data_size, 1, 0, 0, bmap, fvx, fvy, signs, parts, pmap);
+ status = parse_save(data, data_size, 1, 0, 0, bmap, fvx, fvy, signs, parts, pmap, decorations);
if (!status) {
//if(svf_last)
//free(svf_last);
@@ -3765,7 +3765,7 @@ void execute_save(pixel *vid_buf)
plens[0] = strlen(svf_name);
uploadparts[1] = svf_description;
plens[1] = strlen(svf_description);
- uploadparts[2] = build_save(plens+2, 0, 0, XRES, YRES, bmap, fvx, fvy, signs, parts);
+ uploadparts[2] = build_save(plens+2, 0, 0, XRES, YRES, bmap, fvx, fvy, signs, parts, decorations);
uploadparts[3] = build_thumb(plens+3, 1);
uploadparts[4] = (svf_publish==1)?"Public":"Private";
plens[4] = strlen((svf_publish==1)?"Public":"Private");