mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 10:41:15 +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];
|
||||
if (fread(&buff, size, 1, wdbFile) != 1) {
|
||||
if (fread(buff, size, 1, wdbFile) != 1) {
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
@ -236,7 +236,7 @@ MxResult LegoWorldPresenter::LoadWorld(char* p_worldName, LegoWorld* p_world)
|
||||
}
|
||||
|
||||
buff = new MxU8[size];
|
||||
if (fread(&buff, size, 1, wdbFile) != 1) {
|
||||
if (fread(buff, size, 1, wdbFile) != 1) {
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user