summaryrefslogtreecommitdiffstats
path: root/src/core/Streaming.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-25 00:40:14 +0200
committeraap <aap@papnet.eu>2020-04-25 00:41:17 +0200
commitac19de45b88123b2284ecc3ab44cedcaa7ca496d (patch)
tree5e512242f7c7f41fcb9c685c2679c6b004bae8fd /src/core/Streaming.cpp
parentimplemented debugmenu (diff)
downloadre3-ac19de45b88123b2284ecc3ab44cedcaa7ca496d.tar
re3-ac19de45b88123b2284ecc3ab44cedcaa7ca496d.tar.gz
re3-ac19de45b88123b2284ecc3ab44cedcaa7ca496d.tar.bz2
re3-ac19de45b88123b2284ecc3ab44cedcaa7ca496d.tar.lz
re3-ac19de45b88123b2284ecc3ab44cedcaa7ca496d.tar.xz
re3-ac19de45b88123b2284ecc3ab44cedcaa7ca496d.tar.zst
re3-ac19de45b88123b2284ecc3ab44cedcaa7ca496d.zip
Diffstat (limited to 'src/core/Streaming.cpp')
-rw-r--r--src/core/Streaming.cpp3
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");