1.1 --- a/core/metamod.cpp Mon Feb 16 17:43:55 2009 -0500
1.2 +++ b/core/metamod.cpp Mon Feb 16 17:54:39 2009 -0500
1.3 @@ -1125,28 +1125,28 @@
1.4 if (alias[0] != '\0')
1.5 g_PluginMngr.SetAlias(alias, file);
1.6
1.7 - /* Attempt to find a file extension */
1.8 - if (UTIL_GetExtension(file) == NULL)
1.9 - {
1.10 - g_pMetamod->PathFormat(full_path,
1.11 - sizeof(full_path),
1.12 - "%s/%s%s",
1.13 - g_pMetamod->GetBaseDir(),
1.14 - file,
1.15 -#if defined WIN32 || defined _WIN32
1.16 - ".dll"
1.17 -#else
1.18 - "_i486.so"
1.19 -#endif
1.20 - );
1.21 - }
1.22 - else
1.23 - {
1.24 - g_pMetamod->PathFormat(full_path,
1.25 - sizeof(full_path),
1.26 - "%s/%s",
1.27 - g_pMetamod->GetBaseDir(),
1.28 - file);
1.29 + /* Attempt to find a file extension */
1.30 + if (UTIL_GetExtension(file) == NULL)
1.31 + {
1.32 + g_pMetamod->PathFormat(full_path,
1.33 + sizeof(full_path),
1.34 + "%s/%s%s",
1.35 + g_pMetamod->GetBaseDir(),
1.36 + file,
1.37 +#if defined WIN32 || defined _WIN32
1.38 + ".dll"
1.39 +#else
1.40 + "_i486.so"
1.41 +#endif
1.42 + );
1.43 + }
1.44 + else
1.45 + {
1.46 + g_pMetamod->PathFormat(full_path,
1.47 + sizeof(full_path),
1.48 + "%s/%s",
1.49 + g_pMetamod->GetBaseDir(),
1.50 + file);
1.51 }
1.52
1.53 id = g_PluginMngr.Load(full_path, Pl_File, already, error, sizeof(error));