mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@1612 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
4c863a0625
commit
2027f7089f
1 changed files with 2 additions and 2 deletions
|
@ -4765,8 +4765,8 @@ void P_ProcessInput(int32_t snum)
|
|||
p->posxv += ((g_player[snum].sync->fvel*doubvel)<<6);
|
||||
p->posyv += ((g_player[snum].sync->svel*doubvel)<<6);
|
||||
|
||||
if (p->on_ground && (aplWeaponWorksLike[p->curr_weapon][snum] == KNEE_WEAPON ||
|
||||
TEST_SYNC_KEY(sb_snum, SK_CROUCH)))
|
||||
if (p->on_ground && (TEST_SYNC_KEY(sb_snum, SK_CROUCH) ||
|
||||
(*kb > 10 && aplWeaponWorksLike[p->curr_weapon][snum] == KNEE_WEAPON)))
|
||||
{
|
||||
p->posxv = mulscale(p->posxv,p->runspeed-0x2000,16);
|
||||
p->posyv = mulscale(p->posyv,p->runspeed-0x2000,16);
|
||||
|
|
Loading…
Reference in a new issue