- Exhumed: Tune x offset alignment in DrawStatusAnims() following changes in 220283d1ec.

This commit is contained in:
Mitchell Richters 2021-01-29 22:11:03 +11:00
parent 52ba0461bc
commit c08583ebc1

View file

@ -641,7 +641,9 @@ private:
for (int i = nFirstAnim; i >= 0; i = StatusAnim[i].nPrevAnim)
{
int nSequence = nStatusSeqOffset + StatusAnim[i].s1;
DrawStatusSequence(nSequence, StatusAnim[i].s2, StatusAnim[i].s1 >= 37 && StatusAnim[i].s1 <= 43 ? 0.5 : 0, 0.5);
int xoff = StatusAnim[i].s1 == 4 || StatusAnim[i].s1 == 166 ? 0 : 0.5;
int yoff = StatusAnim[i].s1 >= 37 && StatusAnim[i].s1 <= 43 ? 0.5 : 0;
DrawStatusSequence(nSequence, StatusAnim[i].s2, yoff, xoff);
}
}