mirror of https://github.com/Nofated095/re-GTA.git
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 New Issue