Fix incorrect secondary data channel in FastCreateQuad.
This commit is contained in:
@@ -44,7 +44,7 @@ namespace OpenRA.Graphics
|
|||||||
st = ss.SecondaryTop;
|
st = ss.SecondaryTop;
|
||||||
sr = ss.SecondaryRight;
|
sr = ss.SecondaryRight;
|
||||||
sb = ss.SecondaryBottom;
|
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);
|
vertices[nv] = new Vertex(a, r.Left, r.Top, sl, st, paletteTextureIndex, attribC);
|
||||||
|
|||||||
Reference in New Issue
Block a user