summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-26 21:46:55 +0200
committeraap <aap@papnet.eu>2019-06-26 21:46:55 +0200
commit50cce3e586381369cf8bbf2707574700b1d70b17 (patch)
tree20cef1d83aa41e384320069f2f59ee8a18e217a8 /src
parentsome more CStreaming + fixes by erorcun (diff)
downloadre3-50cce3e586381369cf8bbf2707574700b1d70b17.tar
re3-50cce3e586381369cf8bbf2707574700b1d70b17.tar.gz
re3-50cce3e586381369cf8bbf2707574700b1d70b17.tar.bz2
re3-50cce3e586381369cf8bbf2707574700b1d70b17.tar.lz
re3-50cce3e586381369cf8bbf2707574700b1d70b17.tar.xz
re3-50cce3e586381369cf8bbf2707574700b1d70b17.tar.zst
re3-50cce3e586381369cf8bbf2707574700b1d70b17.zip
Diffstat (limited to 'src')
-rw-r--r--src/Streaming.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Streaming.cpp b/src/Streaming.cpp
index 0f5b7262..0dc64d62 100644
--- a/src/Streaming.cpp
+++ b/src/Streaming.cpp
@@ -953,7 +953,7 @@ CStreaming::IsTxdUsedByRequestedModels(int32 txdId)
int streamId;
int i;
- for(si = ms_startRequestedList.m_next; si != &ms_startRequestedList; si = si->m_next){
+ for(si = ms_startRequestedList.m_next; si != &ms_endRequestedList; si = si->m_next){
streamId = si - ms_aInfoForModel;
if(streamId < STREAM_OFFSET_TXD &&
CModelInfo::GetModelInfo(streamId)->GetTxdSlot() == txdId)