Unhardcode beacon sprites for documentation and lint testing.
This commit is contained in:
@@ -205,8 +205,10 @@ namespace OpenRA.Mods.RA.Traits
|
||||
self.Owner,
|
||||
target - new WVec(0, 0, altitude),
|
||||
Info.BeaconPalettePrefix,
|
||||
Info.BeaconImage,
|
||||
Info.BeaconPoster,
|
||||
Info.BeaconPosterPalette,
|
||||
Info.ClockSequence,
|
||||
() => 1 - ((distanceTestActor.CenterPosition - target).HorizontalLength - info.BeaconDistanceOffset.Length) * 1f / distance);
|
||||
|
||||
w.Add(beacon);
|
||||
|
||||
Reference in New Issue
Block a user