mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- Blood: Eliminate VIEW::look_ang
and VIEW::rotscrnang
.
This commit is contained in:
parent
d7b91df06e
commit
b4af1a4600
2 changed files with 0 additions and 5 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue