mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
- Exhumed: Tune x offset alignment in DrawStatusAnims()
following changes in 220283d1ec
.
This commit is contained in:
parent
52ba0461bc
commit
c08583ebc1
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue