From 1e9364cfdcf48147072e331316bd5f5ad0babb63 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Sat, 12 Jun 2010 01:24:47 -0400 Subject: [PATCH] Fixed VDF plugin loading on core-legacy (ep1) on Linux (bug 4410, r=dvander). --- core-legacy/sourcemm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-legacy/sourcemm.cpp b/core-legacy/sourcemm.cpp index e759174..5e359ea 100644 --- a/core-legacy/sourcemm.cpp +++ b/core-legacy/sourcemm.cpp @@ -336,7 +336,7 @@ bool LoadFromVDF(const char *file, bool &skipped) g_PluginMngr.SetAlias(alias, plugin_file); } - g_SmmAPI.GetFullPluginPath(file, full_path, sizeof(full_path)); + g_SmmAPI.GetFullPluginPath(plugin_file, full_path, sizeof(full_path)); id = g_PluginMngr.Load(full_path, Pl_File, already, error, sizeof(error)); skipped = already;