Skip to content

Commit

Permalink
S2: set g_pFullFileSystem
Browse files Browse the repository at this point in the history
  • Loading branch information
psychonic committed Oct 16, 2023
1 parent 8c394c0 commit 2f0d9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/provider/source2/provider_source2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void Source2Provider::Notify_DLLInit_Pre(CreateInterfaceFn engineFactory,
}

gameclients = (IServerGameClients*)(serverFactory(INTERFACEVERSION_SERVERGAMECLIENTS, NULL));
baseFs = (IFileSystem*)((engineFactory)(FILESYSTEM_INTERFACE_VERSION, NULL));
g_pFullFileSystem = baseFs = (IFileSystem*)((engineFactory)(FILESYSTEM_INTERFACE_VERSION, NULL));
if (baseFs == NULL)
{
mm_LogMessage("Unable to find \"%s\": .vdf files will not be parsed", FILESYSTEM_INTERFACE_VERSION);
Expand Down

0 comments on commit 2f0d9fc

Please sign in to comment.