P_UpdateScreenPal() seems to belong here instead

git-svn-id: https://svn.eduke32.com/eduke32@7065 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-10-10 19:15:33 +00:00
parent da040c0690
commit d2f980694b

View file

@ -3256,10 +3256,10 @@ void P_CheckSectors(int playerNum)
int const playerSectnum = pPlayer->cursectnum;
pPlayer->cursectnum = SECT(spriteNum);
P_UpdateScreenPal(pPlayer);
pPlayer->cursectnum = playerSectnum;
pPlayer->newowner = spriteNum;
P_UpdateScreenPal(pPlayer);
P_UpdatePosWhenViewingCam(pPlayer);
return;