small fix

This commit is contained in:
withmorten 2021-08-09 16:34:05 +02:00
parent 35dd465c19
commit 858f913fac
1 changed files with 1 additions and 0 deletions

View File

@ -1030,6 +1030,7 @@ FixSave(int32 slot, uint8 save_type)
totalSize = 0;
CFileMgr::Read(file_in, (const char *)&size, sizeof(size));
size = align4bytes(size);
buf = work_buff;
CFileMgr::Read(file_in, (const char *)work_buff, size); // simple vars + scripts