- Blood: Eliminate VIEW::look_ang and VIEW::rotscrnang.

This commit is contained in:
Mitchell Richters 2022-09-10 22:29:23 +10:00 committed by Christoph Oelckers
parent d7b91df06e
commit b4af1a4600
2 changed files with 0 additions and 5 deletions

View file

@ -60,15 +60,12 @@ int gViewIndex;
void viewBackupView(int nPlayer)
{
PLAYER* pPlayer = &gPlayer[nPlayer];
VIEW* pView = &gPrevView[nPlayer];
pPlayer->ozView = pPlayer->zView;
pPlayer->ozWeapon = pPlayer->zWeapon - pPlayer->zView - 0xc00;
pPlayer->obobHeight = pPlayer->bobHeight;
pPlayer->obobWidth = pPlayer->bobWidth;
pPlayer->oswayHeight = pPlayer->swayHeight;
pPlayer->oswayWidth = pPlayer->swayWidth;
pView->look_ang = pPlayer->angle.look_ang;
pView->rotscrnang = pPlayer->angle.rotscrnang;
pPlayer->angle.backup();
pPlayer->horizon.backup();
}

View file

@ -53,8 +53,6 @@ struct VIEW {
uint8_t isUnderwater; // underwater
int16_t sprflags; // sprite flags
SPRITEHIT hit;
DAngle look_ang;
DAngle rotscrnang;
};
extern VIEW gPrevView[kMaxPlayers];