summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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)