Things Mode: fixed an issue where the thing info panel did not show enum values for the first argument. Fixes #804

This commit is contained in:
biwa 2022-10-20 20:00:28 +02:00
parent c6982ee2e1
commit c751ad5a97

View file

@ -208,8 +208,8 @@ namespace CodeImp.DoomBuilder.Controls
//mxd. Set argument value and label //mxd. Set argument value and label
if (isarg0str) arg1.Text = arg0str; if (isarg0str) arg1.Text = arg0str;
else SetArgumentText(act.Args[0], arg1, t.Args[0]); else SetArgumentText(arginfo[0], arg1, t.Args[0]);
SetArgumentText(arginfo[1], arg2, t.Args[1]); SetArgumentText(arginfo[1], arg2, t.Args[1]);
SetArgumentText(arginfo[2], arg3, t.Args[2]); SetArgumentText(arginfo[2], arg3, t.Args[2]);
SetArgumentText(arginfo[3], arg4, t.Args[3]); SetArgumentText(arginfo[3], arg4, t.Args[3]);
SetArgumentText(arginfo[4], arg5, t.Args[4]); SetArgumentText(arginfo[4], arg5, t.Args[4]);