Fixed check against uninitialized string in extension loader (bug 5546, r=psychonic).

This commit is contained in:
Kyle Sanderson 2013-03-18 20:03:17 -04:00
parent 8fe22c33bf
commit 4c722bf623

View File

@ -123,10 +123,10 @@ CLocalExtension::CLocalExtension(const char *filename)
"extensions/auto." GAMEFIX "/%s." PLATFORM_LIB_EXT,
filename);
normal:
/* Try the "normal" version */
if (!g_LibSys.IsPathFile(path))
{
normal:
g_SourceMod.BuildPath(Path_SM,
path,
PLATFORM_MAX_PATH,