The load order parser should not always complain about extensions.
This commit is contained in:
parent
cd0ed1e6b9
commit
7168070b01
|
@ -224,8 +224,12 @@ static BOOL AddLoadOrderSet(char *key, char *order, BOOL override)
|
|||
cptr = get_tok(key, ", \t");
|
||||
while(cptr)
|
||||
{
|
||||
if(strchr(cptr, '.'))
|
||||
char *ext = strrchr(cptr, '.');
|
||||
if(ext)
|
||||
{
|
||||
if(strlen(ext) == 4 && (!strcasecmp(ext, ".dll") || !strcasecmp(ext, ".exe")))
|
||||
MSG("Warning: Loadorder override '%s' contains an extension and might not be found during lookup\n", cptr);
|
||||
}
|
||||
|
||||
ldo.modulename = cptr;
|
||||
if(!AddLoadOrder(&ldo, override))
|
||||
|
|
Loading…
Reference in New Issue