mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 14:41:55 +00:00
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:
parent
19e7419896
commit
a0be30facb
1 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue