mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-08 10:58:31 +00:00
Fixed a crash bug when using providers that don't export GetGameDllBridge.
This commit is contained in:
parent
e1a9b482b3
commit
18251be939
@ -256,9 +256,12 @@ public:
|
|||||||
mm_UnloadMetamodLibrary();
|
mm_UnloadMetamodLibrary();
|
||||||
mm_LogFatal("Detected engine %d but could not find GetGameDllBridge callback", backend);
|
mm_LogFatal("Detected engine %d but could not find GetGameDllBridge callback", backend);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
gamedll_bridge = get_bridge();
|
gamedll_bridge = get_bridge();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (gamedll_bridge)
|
if (gamedll_bridge)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user