mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- repeat of cf548e055e
for RR.
This commit is contained in:
parent
fb6a58904a
commit
a3a7a8f6be
1 changed files with 1 additions and 2 deletions
|
@ -3641,8 +3641,7 @@ void processinput_r(int snum)
|
|||
|
||||
playerweaponsway(p, s);
|
||||
|
||||
s->xvel =
|
||||
ksqrt((p->posx - p->bobposx) * (p->posx - p->bobposx) + (p->posy - p->bobposy) * (p->posy - p->bobposy));
|
||||
s->xvel = clamp(ksqrt((p->posx - p->bobposx) * (p->posx - p->bobposx) + (p->posy - p->bobposy) * (p->posy - p->bobposy)), 0, 512);
|
||||
if (p->on_ground) p->bobcounter += sprite[p->i].xvel >> 1;
|
||||
|
||||
backuppos(p, ud.clipping == 0 && (sector[p->cursectnum].floorpicnum == MIRROR || p->cursectnum < 0 || p->cursectnum >= MAXSECTORS));
|
||||
|
|
Loading…
Reference in a new issue