|
ahh nevermind i fixed it...
for those of you still having problems most likely you put
List<coords> Line = new List<coords>(5);
above
foreach (Character C in World.H_Chars.Values)
to get rid of the line error...
BUT, you needed to also put
if (Info.Targetting == TargetType.Linear)
Line = MyMath.LineCoords(User.Loc.X, User.Loc.Y, AimX, AimY, 10);
so your code should end up looking like
List<coords> Line = new List<coords>(5);
if (Info.Targetting == TargetType.Linear)
Line = MyMath.LineCoords(User.Loc.X, User.Loc.Y, AimX, AimY, 10);
foreach (Character C in World.H_Chars.Values)
|