mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-18 01:52:34 +00:00
- adjustments for next update.
This commit is contained in:
parent
eadecaf407
commit
f62c988a0e
1 changed files with 3 additions and 3 deletions
|
@ -124,16 +124,16 @@ void FGLRenderer::DrawPSprite (player_t * player,pspdef_t *psp, float sx, float
|
||||||
ftexturemid = 100.f - sy - r.top;
|
ftexturemid = 100.f - sy - r.top;
|
||||||
|
|
||||||
AWeapon * wi=player->ReadyWeapon;
|
AWeapon * wi=player->ReadyWeapon;
|
||||||
if (wi && wi->YAdjust)
|
if (wi && wi->YAdjust != 0)
|
||||||
{
|
{
|
||||||
float fYAd = FIXED2FLOAT(wi->YAdjust);
|
float fYAd = wi->YAdjust;
|
||||||
if (screenblocks >= 11)
|
if (screenblocks >= 11)
|
||||||
{
|
{
|
||||||
ftexturemid -= fYAd;
|
ftexturemid -= fYAd;
|
||||||
}
|
}
|
||||||
else if (!st_scale)
|
else if (!st_scale)
|
||||||
{
|
{
|
||||||
ftexturemid -= FIXED2FLOAT(StatusBar->GetDisplacement ()) * fYAd;
|
ftexturemid -= StatusBar->GetDisplacement () * fYAd;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue