mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-19 23:11:03 +00:00
Change one more instance of code assuming 5 arguments instead of 10
This commit is contained in:
parent
e8eb7ec1f0
commit
fb5d404e0c
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue