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

Change one more instance of code assuming 5 arguments instead of 10

parent e8eb7ec1
No related branches found
No related tags found
No related merge requests found
......@@ -677,7 +677,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
if (BuilderPlug.Me.EventLineLabelStyle == 0 || General.Map.Config.LineTagIndicatesSectors)
return description;
for (int i=0; i < 5; i++)
for (int i=0; i < Linedef.NUM_ARGS; i++)
{
if(lai.Args[i].Used)
{
......@@ -706,7 +706,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
List<string> argdescription = new List<string>();
ThingTypeInfo ti = General.Map.Data.GetThingInfoEx(((Thing)se).Type);
for (int i = 0; i < 5; i++)
for (int i = 0; i < Thing.NUM_ARGS; i++)
{
if (ti.Args[i].Used)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment