Merge pull request #18 from ENSL/pierow-fixes

revert unintentional changes to commented code
This commit is contained in:
pierow 2018-08-15 03:42:44 -04:00 committed by GitHub
commit e6ca5321c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,7 @@
// edict->movetype values
#define MOVETYPE_NONE 0 // never moves
//#define MOVETYPE_ANGLENOCLIP 1
//#define MOVETYPE_JUMPHELD 2
//#define MOVETYPE_ANGLECLIP 2
#define MOVETYPE_WALK 3 // Player only - moving on the ground
#define MOVETYPE_STEP 4 // gravity, special edge handling -- monsters use this
#define MOVETYPE_FLY 5 // No gravity, but still collides with stuff

View File

@ -5341,6 +5341,7 @@ void PM_Jump (void)
if (pmove->dead || GetHasUpgrade(pmove->iuser4, MASK_ENSNARED))
{
//pmove->oldbuttons |= IN_JUMP; // don't jump again until released
pmove->flags |= FL_JUMPHELD;
return;
}