mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 13:31:07 +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;
|
||||
|
||||
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)
|
||||
{
|
||||
ftexturemid -= fYAd;
|
||||
}
|
||||
else if (!st_scale)
|
||||
{
|
||||
ftexturemid -= FIXED2FLOAT(StatusBar->GetDisplacement ()) * fYAd;
|
||||
ftexturemid -= StatusBar->GetDisplacement () * fYAd;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue