Account for this on the renderer's side instead
This fixes the weapon's layer behaving differently when called from A_Overlay (the flag would be set in this case breaking the offsets)
This commit is contained in:
parent
543414d31f
commit
eeff17c550
2 changed files with 1 additions and 5 deletions
|
|
@ -1337,7 +1337,7 @@ void R_DrawPSprite(DPSprite *pspr, AActor *owner, float bobx, float boby, double
|
|||
sy += boby;
|
||||
}
|
||||
|
||||
if (pspr->Flags & PSPF_ADDWEAPON)
|
||||
if (pspr->Flags & PSPF_ADDWEAPON && pspr->GetID() != PSP_WEAPON)
|
||||
{
|
||||
sx += wx;
|
||||
sy += wy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue