aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/client/clientvideooverrides.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/client/clientvideooverrides.cpp')
-rw-r--r--NorthstarDLL/client/clientvideooverrides.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/NorthstarDLL/client/clientvideooverrides.cpp b/NorthstarDLL/client/clientvideooverrides.cpp
index ab78b943..d3362adc 100644
--- a/NorthstarDLL/client/clientvideooverrides.cpp
+++ b/NorthstarDLL/client/clientvideooverrides.cpp
@@ -13,11 +13,8 @@ void*, __fastcall, (const char* path, uint32_t flags))
// figure out which mod is handling the bink
Mod* pFileOwner = nullptr;
- for (Mod& mod : g_pModManager->GetMods())
+ for (Mod& mod : g_pModManager->GetMods() | ModManager::FilterEnabled)
{
- if (!mod.m_bEnabled)
- continue;
-
if (std::find(mod.BinkVideos.begin(), mod.BinkVideos.end(), filename) != mod.BinkVideos.end())
pFileOwner = &mod;
}