i have no idea how gcc/msvc both didn't catch the return false from earlier
--HG-- branch : sourcemod-1.0.x extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/branches/sourcemod-1.0.x%402006
This commit is contained in:
parent
a0833bfd10
commit
888a1432f2
@ -320,6 +320,7 @@ ILibrary *LibrarySystem::OpenLibrary(const char *path, char *error, size_t maxle
|
|||||||
if (lib == NULL)
|
if (lib == NULL)
|
||||||
{
|
{
|
||||||
GetLoaderError(error, maxlength);
|
GetLoaderError(error, maxlength);
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return new CLibrary(lib);
|
return new CLibrary(lib);
|
||||||
|
Loading…
Reference in New Issue
Block a user