mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Match
This commit is contained in:
parent
6cb2c7d1ce
commit
82de1453ed
@ -215,7 +215,7 @@ MxResult LegoWorldPresenter::LoadWorld(char* p_worldName, LegoWorld* p_world)
|
|||||||
}
|
}
|
||||||
|
|
||||||
MxU8* buff = new MxU8[size];
|
MxU8* buff = new MxU8[size];
|
||||||
if (fread(&buff, size, 1, wdbFile) != 1) {
|
if (fread(buff, size, 1, wdbFile) != 1) {
|
||||||
return FAILURE;
|
return FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -236,7 +236,7 @@ MxResult LegoWorldPresenter::LoadWorld(char* p_worldName, LegoWorld* p_world)
|
|||||||
}
|
}
|
||||||
|
|
||||||
buff = new MxU8[size];
|
buff = new MxU8[size];
|
||||||
if (fread(&buff, size, 1, wdbFile) != 1) {
|
if (fread(buff, size, 1, wdbFile) != 1) {
|
||||||
return FAILURE;
|
return FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user