mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-15 12:10:53 +00:00
- Duke (RR): Fix weapon swaying after copy-paste issue originating from 5172c43e71
.
This commit is contained in:
parent
bbf1352db1
commit
b65326dc22
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ void displayweapon_r(int snum, double smoothratio)
|
||||||
weapon_xoffset = (160)-90;
|
weapon_xoffset = (160)-90;
|
||||||
weapon_xoffset -= bcosf(weapon_sway * 0.5) * (1. / 1536.);
|
weapon_xoffset -= bcosf(weapon_sway * 0.5) * (1. / 1536.);
|
||||||
weapon_xoffset -= 58 + p->weapon_ang;
|
weapon_xoffset -= 58 + p->weapon_ang;
|
||||||
if( p->GetActor()->s.xrepeat < 32 )
|
if( p->GetActor()->s.xrepeat < 8 )
|
||||||
gun_pos -= fabs(bsinf(weapon_sway * 4., -9));
|
gun_pos -= fabs(bsinf(weapon_sway * 4., -9));
|
||||||
else gun_pos -= fabs(bsinf(weapon_sway * 0.5, -10));
|
else gun_pos -= fabs(bsinf(weapon_sway * 0.5, -10));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue