migrate all other buildings to DATA.R8 sequences
4th conyard might be for the Corrino faction TODO: active animations are yet unused overlays no need to render build-top for refineries
This commit is contained in:
@@ -272,11 +272,6 @@ namespace OpenRA.Utility
|
||||
offsetX = frame.FrameSize.Width / 2 - frame.Size.Width / 2;
|
||||
offsetY = frame.FrameSize.Height / 2 - frame.Size.Height / 2;
|
||||
}
|
||||
else if (args.Contains("--building"))
|
||||
{
|
||||
offsetX = Math.Abs(frame.Offset.X);
|
||||
offsetY = frame.FrameSize.Height - Math.Abs(frame.Offset.Y);
|
||||
}
|
||||
|
||||
Console.WriteLine("calculated OffsetX: {0}", offsetX);
|
||||
Console.WriteLine("calculated OffsetY: {0}", offsetY);
|
||||
|
||||
Reference in New Issue
Block a user