mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-04-22 08:28:53 +00:00
- disable weapon offset interpolation because it is impossible to determine if it is possible or not.
This commit is contained in:
parent
7ded355d5d
commit
b59438e7e2
1 changed files with 4 additions and 1 deletions
|
@ -1325,6 +1325,9 @@ void R_DrawPSprite(DPSprite *pspr, AActor *owner, float bobx, float boby, double
|
|||
pspr->oldy = pspr->y;
|
||||
}
|
||||
|
||||
// disable interpolation for now.
|
||||
ticfrac = 1.;
|
||||
|
||||
sx = pspr->oldx + (pspr->x - pspr->oldx) * ticfrac;
|
||||
sy = pspr->oldy + (pspr->y - pspr->oldy) * ticfrac;
|
||||
|
||||
|
@ -1621,7 +1624,7 @@ void R_DrawPlayerSprites ()
|
|||
// Interpolate the main weapon layer once so as to be able to add it to other layers.
|
||||
if ((weapon = camera->player->FindPSprite(PSP_WEAPON)) != nullptr)
|
||||
{
|
||||
if (weapon->firstTic)
|
||||
if (true || weapon->firstTic)
|
||||
{
|
||||
wx = weapon->x;
|
||||
wy = weapon->y;
|
||||
|
|
Loading…
Reference in a new issue