Revert "- Exhumed: Tune x offset alignment in DrawStatusAnims() following changes in 220283d1ec3cba03f455bd96bcf130df777b5635."

This reverts commit c08583ebc1.

This does not work as intended.
Fixes #261

# Conflicts:
#	source/games/exhumed/src/status.cpp
This commit is contained in:
Christoph Oelckers 2021-01-30 10:53:58 +01:00
parent 19e7419896
commit a0be30facb

View file

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