mirror of
https://github.com/halpz/re3.git
synced 2024-12-22 17:35:29 +00:00
small fix
This commit is contained in:
parent
35dd465c19
commit
858f913fac
|
@ -1030,6 +1030,7 @@ FixSave(int32 slot, uint8 save_type)
|
||||||
totalSize = 0;
|
totalSize = 0;
|
||||||
|
|
||||||
CFileMgr::Read(file_in, (const char *)&size, sizeof(size));
|
CFileMgr::Read(file_in, (const char *)&size, sizeof(size));
|
||||||
|
size = align4bytes(size);
|
||||||
|
|
||||||
buf = work_buff;
|
buf = work_buff;
|
||||||
CFileMgr::Read(file_in, (const char *)work_buff, size); // simple vars + scripts
|
CFileMgr::Read(file_in, (const char *)work_buff, size); // simple vars + scripts
|
||||||
|
|
Loading…
Reference in a new issue