Commit fe2bcb7b authored by NY00123's avatar NY00123
Browse files

Duke3D: Process empty skill name definitions as if they were " ".

Fixes assertion failure with Suburbs TC.
parent d85d0e07
......@@ -5407,6 +5407,13 @@ repeatcase:
}
}
if (EDUKE32_PREDICT_FALSE(i == 0))
{
initprintf("%s:%d: warning: empty skill name.\n",
g_scriptFileName,g_lineNumber);
g_skillNames[j][i++] = ' ';
}
g_skillNames[j][i] = '\0';
for (i=0; i<MAXSKILLS; i++)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment