mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-14 08:30:35 +00:00
- fixed bad angle math in cl_showweapon handler.
This commit is contained in:
parent
9a27cf025f
commit
7cf13ed158
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ static tspritetype* viewAddEffect(tspriteArray& tsprites, int nTSprite, VIEW_EFF
|
|||
if (cl_showweapon == 2 && r_voxels && nVoxel != -1)
|
||||
{
|
||||
auto gView = &gPlayer[gViewIndex];
|
||||
pNSprite->Angles.Yaw = gView->actor->spr.Angles.Yaw += DAngle90; // always face viewer
|
||||
pNSprite->Angles.Yaw = gView->actor->spr.Angles.Yaw + DAngle90; // always face viewer
|
||||
pNSprite->cstat &= ~CSTAT_SPRITE_YFLIP;
|
||||
if (pPlayer->curWeapon == kWeapLifeLeech) // position lifeleech behind player
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue