Fix incorrect secondary data channel in FastCreateQuad.

This commit is contained in:
Paul Chote
2016-07-02 21:18:49 +01:00
parent 8c8fa2d258
commit 37c5e9e0b0

View File

@@ -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);