summaryrefslogtreecommitdiffstats
path: root/src/rw/TexRead.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-25 11:26:37 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-25 11:26:37 +0200
commitbb14d9689fbd28ea2b8e340472e3e593e4b84c1e (patch)
tree8f30747dab46c7ccf3ade06946aab1956664e798 /src/rw/TexRead.cpp
parentMerge remote-tracking branch 'upstream/master' (diff)
parentMerge branch 'master' of github.com:gtamodding/re3 (diff)
downloadre3-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.cpp5
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();