1.1 --- a/sourcemm/CSmmAPI.cpp Fri Apr 06 20:53:07 2007 +0000
1.2 +++ b/sourcemm/CSmmAPI.cpp Fri Apr 06 21:01:43 2007 +0000
1.3 @@ -454,14 +454,9 @@
1.4
1.5 void CSmmAPI::LoadAsVSP()
1.6 {
1.7 - char path[260];
1.8 - if (!GetFileOfAddress(CreateInterface, path, sizeof(path)))
1.9 - {
1.10 - /* Failed! */
1.11 - }
1.12 char command[350];
1.13 g_VspListener.SetLoadable(true);
1.14 - UTIL_Format(command, sizeof(command), "plugin_load \"%s\"\n", path);
1.15 + UTIL_Format(command, sizeof(command), "plugin_load \"%s\"\n", g_SmmPath.c_str());
1.16 g_Engine.engine->ServerCommand(command);
1.17 }
1.18