diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-25 11:26:37 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-25 11:26:37 +0200 |
commit | bb14d9689fbd28ea2b8e340472e3e593e4b84c1e (patch) | |
tree | 8f30747dab46c7ccf3ade06946aab1956664e798 /src/rw/TexRead.cpp | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
parent | Merge branch 'master' of github.com:gtamodding/re3 (diff) | |
download | re3-bb14d9689fbd28ea2b8e340472e3e593e4b84c1e.tar re3-bb14d9689fbd28ea2b8e340472e3e593e4b84c1e.tar.gz re3-bb14d9689fbd28ea2b8e340472e3e593e4b84c1e.tar.bz2 re3-bb14d9689fbd28ea2b8e340472e3e593e4b84c1e.tar.lz re3-bb14d9689fbd28ea2b8e340472e3e593e4b84c1e.tar.xz re3-bb14d9689fbd28ea2b8e340472e3e593e4b84c1e.tar.zst re3-bb14d9689fbd28ea2b8e340472e3e593e4b84c1e.zip |
Diffstat (limited to 'src/rw/TexRead.cpp')
-rw-r--r-- | src/rw/TexRead.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rw/TexRead.cpp b/src/rw/TexRead.cpp index d1ff3dc0..9f0cae3c 100644 --- a/src/rw/TexRead.cpp +++ b/src/rw/TexRead.cpp @@ -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(); |