mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-05 10:14:08 +00:00
few fixes
This commit is contained in:
parent
5bb4e99926
commit
ac19de45b8
11 changed files with 71 additions and 37 deletions
|
@ -66,10 +66,7 @@ RwTexDictionaryGtaStreamRead(RwStream *stream)
|
|||
|
||||
if(!RwStreamFindChunk(stream, rwID_STRUCT, &size, &version))
|
||||
return nil;
|
||||
assert(size == 4);
|
||||
int foo = RwStreamRead(stream, &numTextures, size);
|
||||
if(foo != size)
|
||||
// if(RwStreamRead(stream, &numTextures, size) != size)
|
||||
if(RwStreamRead(stream, &numTextures, size) != size)
|
||||
return nil;
|
||||
|
||||
texDict = RwTexDictionaryCreate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue