Skip to content
Snippets Groups Projects
Commit 34cf4073 authored by sphere's avatar sphere
Browse files

Fix unknown thing types crashing because of unknown stringarg info

parent 097ad410
No related branches found
No related tags found
No related merge requests found
Pipeline #4112 passed
......@@ -145,8 +145,8 @@ namespace CodeImp.DoomBuilder.Controls
}
// Arguments
ArgumentInfo[] arginfo = ((t.Action == 0 && ti.Args[0] != null) ? ti.Args : act.Args); //mxd
ArgumentInfo[] stringarginfo = ti.StringArgs;
ArgumentInfo[] arginfo = (t.Action == 0 && ti.Args[0] != null) ? ti.Args : act.Args; //mxd
ArgumentInfo[] stringarginfo = ti.StringArgs[0] != null ? ti.StringArgs : act.StringArgs;
//mxd. ACS script argument names
bool isacsscript = (Array.IndexOf(GZGeneral.ACS_SPECIALS, t.Action) != -1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment