Fixed: the strife firehands were interpolated if a mod used the layer before them

The flags were also already reset, no need to do it twice
This commit is contained in:
Leonard2 2016-06-18 09:46:55 +02:00
commit 3ea70980f9
2 changed files with 5 additions and 4 deletions

View file

@ -229,6 +229,10 @@ DPSprite *player_t::GetPSprite(PSPLayers layer)
{
pspr->Flags = (PSPF_ADDWEAPON|PSPF_ADDBOB|PSPF_CVARFAST|PSPF_POWDOUBLE);
}
if (layer == PSP_STRIFEHANDS)
{
pspr->y = WEAPONTOP;
}
pspr->oldx = pspr->x;
pspr->oldy = pspr->y;