[Fix] Sh*t! Fixed game not saving.

This commit is contained in:
Allanis 2014-03-08 01:17:47 +00:00
parent 01b18c722e
commit 79aaac64ad

View File

@ -83,7 +83,7 @@ int save_all(void) {
xmlw_endElem(writer); /* lephisto_save. */
xmlw_done(writer);
if(lfile_dirMakeExist("saves") < 0) {
if(lfile_dirMakeExist("%ssaves", lfile_basePath()) < 0) {
WARN("Aborting save...");
xmlFreeTextWriter(writer);
xmlFreeDoc(doc);