remove redundant int to int conversion in rendered circles
This commit is contained in:
@@ -46,7 +46,7 @@ namespace OpenRA.Mods.RA
|
|||||||
|
|
||||||
wr.DrawRangeCircle(
|
wr.DrawRangeCircle(
|
||||||
Color.FromArgb(128, Color.Yellow),
|
Color.FromArgb(128, Color.Yellow),
|
||||||
self.CenterLocation.ToFloat2(), (int)self.Trait<AttackBase>().GetMaximumRange());
|
self.CenterLocation.ToFloat2(), self.Trait<AttackBase>().GetMaximumRange());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ namespace OpenRA.Mods.RA
|
|||||||
|
|
||||||
wr.DrawRangeCircle(
|
wr.DrawRangeCircle(
|
||||||
Color.FromArgb(128, Color.Cyan),
|
Color.FromArgb(128, Color.Cyan),
|
||||||
self.CenterLocation.ToFloat2(), (int)self.Info.Traits.Get<CreatesShroudInfo>().Range);
|
self.CenterLocation.ToFloat2(), self.Info.Traits.Get<CreatesShroudInfo>().Range);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user