mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- interpolate p->hard_landing
for RR.
This commit is contained in:
parent
c600295c93
commit
d9fab07c31
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ void displayweapon_r(int snum, double smoothratio)
|
|||
gun_pos -= fabs(calcSinTableValue(weapon_sway * 4.) / 512.);
|
||||
else gun_pos -= fabs(calcSinTableValue(weapon_sway / 2.) / 1024.);
|
||||
|
||||
gun_pos -= (p->hard_landing<<3);
|
||||
gun_pos -= (p->ohard_landing + fmulscale16(p->hard_landing - p->ohard_landing, smoothratio)) * 8.;
|
||||
|
||||
if(p->last_weapon >= 0)
|
||||
cw = p->last_weapon;
|
||||
|
|
Loading…
Reference in a new issue