diff --git a/OpenRa.Game/Traits/ChronoshiftDeploy.cs b/OpenRa.Game/Traits/ChronoshiftDeploy.cs index b2c280cf8e..df9726d26f 100644 --- a/OpenRa.Game/Traits/ChronoshiftDeploy.cs +++ b/OpenRa.Game/Traits/ChronoshiftDeploy.cs @@ -2,6 +2,7 @@ using System.Linq; using OpenRa.Game.Orders; using System.Drawing; +using OpenRa.Game.Graphics; namespace OpenRa.Game.Traits { @@ -109,7 +110,7 @@ namespace OpenRa.Game.Traits var f = 1 - (animationTick * 1.0f / animationLength); using (var bitmapCopy = new Bitmap(bmp)) - for (int j = 0; j < 8; j++) + for (int j = 0; j < (int)PaletteType.Chrome; j++) for (int i = 0; i < bmp.Width; i++) { var h = bitmapCopy.GetPixel(i, j).GetHue(); // 0-360 diff --git a/settings-netplay-local-aftermath.ini b/settings-netplay-local-aftermath.ini new file mode 100644 index 0000000000..fef7a12f8c --- /dev/null +++ b/settings-netplay-local-aftermath.ini @@ -0,0 +1,4 @@ +[Settings] +NetworkHost=localhost +NetworkPort=1234 +UseAftermath=yes \ No newline at end of file