Merge pull request #345 from edward-san/keyconf_empty_lines

- Fixed a KEYCONF parser issue with empty lines.
This commit is contained in:
coelckers 2015-07-16 20:25:23 +02:00
commit a8fbdb425f

View file

@ -177,6 +177,11 @@ void D_LoadWadSettings ()
{ {
cmd[i] = conf[i]; cmd[i] = conf[i];
} }
if (i == 0)
{
conf++;
continue;
}
cmd[i] = 0; cmd[i] = 0;
conf += i; conf += i;
if (*conf == '\n') if (*conf == '\n')