From 37c5e9e0b07f70f660f56493ea66ba158a160b16 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sat, 2 Jul 2016 21:18:49 +0100 Subject: [PATCH] Fix incorrect secondary data channel in FastCreateQuad. --- OpenRA.Game/Graphics/Util.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Game/Graphics/Util.cs b/OpenRA.Game/Graphics/Util.cs index 177afbd2bb..a11b5ea8b3 100644 --- a/OpenRA.Game/Graphics/Util.cs +++ b/OpenRA.Game/Graphics/Util.cs @@ -44,7 +44,7 @@ namespace OpenRA.Graphics st = ss.SecondaryTop; sr = ss.SecondaryRight; sb = ss.SecondaryBottom; - attribC = -(attribC + ChannelSelect[(int)ss.Channel] / 10); + attribC = -(attribC + ChannelSelect[(int)ss.SecondaryChannel] / 10); } vertices[nv] = new Vertex(a, r.Left, r.Top, sl, st, paletteTextureIndex, attribC);