mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-20 18:52:43 +00:00
- Duke: Invert the horizon offset in displayweapon_d()
as it makes more sense.
This commit is contained in:
parent
a5e6e80c24
commit
2d2f628b95
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ void displayweapon_d(int snum, double interpfrac)
|
|||
|
||||
auto offsets = p->angle.weaponoffsets(interpfrac);
|
||||
auto horiz = !SyncInput() ? p->horizon.sum() : p->horizon.interpolatedsum(interpfrac);
|
||||
auto pitchoffset = interpolatedvalue(0., 16., horiz / DAngle90);
|
||||
auto pitchoffset = -interpolatedvalue(0., 16., horiz / DAngle90);
|
||||
auto yawinput = getavel(snum) * (1. / 16.);
|
||||
auto angle = p->angle.renderrotscrn(interpfrac);
|
||||
auto weapon_xoffset = 160 - 90 - (BobVal(512 + weapon_sway * 0.5) * (16384. / 1536.)) - 58 - p->weapon_ang;
|
||||
|
|
Loading…
Reference in a new issue