diff -r 297482d07c85 -r 7666e83ef566 sourcemm/CSmmAPI.cpp --- a/sourcemm/CSmmAPI.cpp Fri Apr 06 20:53:07 2007 +0000 +++ b/sourcemm/CSmmAPI.cpp Fri Apr 06 21:01:43 2007 +0000 @@ -454,14 +454,9 @@ void CSmmAPI::LoadAsVSP() { - char path[260]; - if (!GetFileOfAddress(CreateInterface, path, sizeof(path))) - { - /* Failed! */ - } char command[350]; g_VspListener.SetLoadable(true); - UTIL_Format(command, sizeof(command), "plugin_load \"%s\"\n", path); + UTIL_Format(command, sizeof(command), "plugin_load \"%s\"\n", g_SmmPath.c_str()); g_Engine.engine->ServerCommand(command); }