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/core/Streaming.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/core/Streaming.cpp')
-rw-r--r-- | src/core/Streaming.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/Streaming.cpp b/src/core/Streaming.cpp index 8124d11c..a76e9038 100644 --- a/src/core/Streaming.cpp +++ b/src/core/Streaming.cpp @@ -754,7 +754,8 @@ CStreaming::RequestSpecialModel(int32 modelId, const char *modelName, int32 flag }else RemoveModel(modelId); - ms_pExtraObjectsDir->FindItem(modelName, pos, size); + bool found = ms_pExtraObjectsDir->FindItem(modelName, pos, size); + assert(found); mi->ClearTexDictionary(); if(CTxdStore::FindTxdSlot(modelName) == -1) mi->SetTexDictionary("generic"); |