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:
Leonard2 2016-06-01 23:33:08 +02:00
commit eeff17c550
2 changed files with 1 additions and 5 deletions

View file

@ -214,10 +214,6 @@ DPSprite *player_t::GetPSprite(PSPLayers layer)
{ // The targeter layers were affected by those.
pspr->Flags |= (PSPF_CVARFAST|PSPF_POWDOUBLE);
}
if (layer != PSP_FLASH)
{ // Only the flash layer should follow the weapon.
pspr->Flags &= ~PSPF_ADDWEAPON;
}
}
return pspr;