Fix erroneous call to M_StringJoin

This commit is contained in:
Simon Howard 2014-03-29 21:09:06 -04:00
parent e63a8d5e3b
commit e76b5678bf

View file

@ -439,7 +439,7 @@ static char *CheckDirectoryHasIWAD(char *dir, char *iwadname)
else
{
char sep[] = {DIR_SEPARATOR, '\0'};
filename = M_StringJoin(dir, sep, iwadname);
filename = M_StringJoin(dir, sep, iwadname, NULL);
}
if (M_FileExists(filename))