From 14d41e9984f34e69c2c3c8ef68d850677391fb6f Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Tue, 29 Dec 2020 14:12:43 +1100 Subject: [PATCH] - Exhumed: Tune position of compass, ammo count and underwater lungs following changes in 220283d1ec3cba03f455bd96bcf130df777b5635. Confirmed torch issue in #236 that 220283d1ec3cba03f455bd96bcf130df777b5635 fixed still remains fixed. --- source/exhumed/src/status.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/exhumed/src/status.cpp b/source/exhumed/src/status.cpp index 37a9da899..e0ed963c5 100644 --- a/source/exhumed/src/status.cpp +++ b/source/exhumed/src/status.cpp @@ -595,8 +595,8 @@ private: } else { - x -= tileWidth(tile) / 2; - y -= tileHeight(tile) / 2; + x -= tileWidth(tile) * .5; + y -= tileHeight(tile) * .5; flags |= DI_ITEM_OFFSETS; } @@ -641,7 +641,7 @@ private: for (int i = nFirstAnim; i >= 0; i = StatusAnim[i].nPrevAnim) { int nSequence = nStatusSeqOffset + StatusAnim[i].s1; - DrawStatusSequence(nSequence, StatusAnim[i].s2, 0, 0); + DrawStatusSequence(nSequence, StatusAnim[i].s2, StatusAnim[i].s1 >= 37 && StatusAnim[i].s1 <= 43 ? 0.5 : 0, 0.5); } }