mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-03-21 12:28:56 +01:00
Normalized line endings to unix (no bug).
This commit is contained in:
parent
277a2a4966
commit
81d61c64a5
@ -1125,28 +1125,28 @@ ProcessVDF(const char *path, bool &skipped)
|
||||
if (alias[0] != '\0')
|
||||
g_PluginMngr.SetAlias(alias, file);
|
||||
|
||||
/* Attempt to find a file extension */
|
||||
if (UTIL_GetExtension(file) == NULL)
|
||||
{
|
||||
g_pMetamod->PathFormat(full_path,
|
||||
sizeof(full_path),
|
||||
"%s/%s%s",
|
||||
g_pMetamod->GetBaseDir(),
|
||||
file,
|
||||
#if defined WIN32 || defined _WIN32
|
||||
".dll"
|
||||
#else
|
||||
"_i486.so"
|
||||
#endif
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pMetamod->PathFormat(full_path,
|
||||
sizeof(full_path),
|
||||
"%s/%s",
|
||||
g_pMetamod->GetBaseDir(),
|
||||
file);
|
||||
/* Attempt to find a file extension */
|
||||
if (UTIL_GetExtension(file) == NULL)
|
||||
{
|
||||
g_pMetamod->PathFormat(full_path,
|
||||
sizeof(full_path),
|
||||
"%s/%s%s",
|
||||
g_pMetamod->GetBaseDir(),
|
||||
file,
|
||||
#if defined WIN32 || defined _WIN32
|
||||
".dll"
|
||||
#else
|
||||
"_i486.so"
|
||||
#endif
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
g_pMetamod->PathFormat(full_path,
|
||||
sizeof(full_path),
|
||||
"%s/%s",
|
||||
g_pMetamod->GetBaseDir(),
|
||||
file);
|
||||
}
|
||||
|
||||
id = g_PluginMngr.Load(full_path, Pl_File, already, error, sizeof(error));
|
||||
|
Loading…
x
Reference in New Issue
Block a user