From c08583ebc1da8fc2fdb42988cf2954889a23d58f Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Fri, 29 Jan 2021 22:11:03 +1100 Subject: [PATCH] - Exhumed: Tune x offset alignment in `DrawStatusAnims()` following changes in 220283d1ec3cba03f455bd96bcf130df777b5635. --- source/games/exhumed/src/status.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/games/exhumed/src/status.cpp b/source/games/exhumed/src/status.cpp index e0ed963c5..614c09221 100644 --- a/source/games/exhumed/src/status.cpp +++ b/source/games/exhumed/src/status.cpp @@ -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); } }