Legacy game saves now load, probably correctly

- Also fixed the file pick dialogs, which now return a path instead of a file:// URL
This commit is contained in:
2014-04-16 22:50:59 -04:00
parent 6fef467caa
commit 92bcdf20e0
3 changed files with 11 additions and 10 deletions

View File

@@ -975,7 +975,7 @@ bool load_party_v1(fs::path file_to_load, bool town_restore, bool in_scen, bool
long len,store_len,count;
// LOAD PARTY
len = (long) sizeof(legacy::party_record_type); // 45368
len = (long) sizeof(legacy::party_record_type); // should be 46398
store_len = len;
fin.read((char*)&store_party, len);
// error = FSRead(file_id, &len, (char *) &store_party)