aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/clientvideooverrides.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/clientvideooverrides.cpp')
-rw-r--r--NorthstarDLL/clientvideooverrides.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/NorthstarDLL/clientvideooverrides.cpp b/NorthstarDLL/clientvideooverrides.cpp
index 11ca3df4..6d5c9053 100644
--- a/NorthstarDLL/clientvideooverrides.cpp
+++ b/NorthstarDLL/clientvideooverrides.cpp
@@ -33,4 +33,8 @@ void*,, (const char* path, uint32_t flags))
ON_DLL_LOAD_CLIENT("client.dll", BinkVideo, (CModule module))
{
AUTOHOOK_DISPATCH()
+
+ // remove engine check for whether the bik we're trying to load exists in r2/media, as this will fail for biks in mods
+ // note: the check in engine is actually unnecessary, so it's just useless in practice and we lose nothing by removing it
+ module.Offset(0x459AD).NOP(6);
}