revert unintentional changes to commented code

This commit is contained in:
pierow 2018-08-15 03:37:54 -04:00
parent 3010fd50f6
commit 9d9696de6a
2 changed files with 2 additions and 1 deletions

View file

@ -68,7 +68,7 @@
// edict->movetype values // edict->movetype values
#define MOVETYPE_NONE 0 // never moves #define MOVETYPE_NONE 0 // never moves
//#define MOVETYPE_ANGLENOCLIP 1 //#define MOVETYPE_ANGLENOCLIP 1
//#define MOVETYPE_JUMPHELD 2 //#define MOVETYPE_ANGLECLIP 2
#define MOVETYPE_WALK 3 // Player only - moving on the ground #define MOVETYPE_WALK 3 // Player only - moving on the ground
#define MOVETYPE_STEP 4 // gravity, special edge handling -- monsters use this #define MOVETYPE_STEP 4 // gravity, special edge handling -- monsters use this
#define MOVETYPE_FLY 5 // No gravity, but still collides with stuff #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)) if (pmove->dead || GetHasUpgrade(pmove->iuser4, MASK_ENSNARED))
{ {
//pmove->oldbuttons |= IN_JUMP; // don't jump again until released
pmove->flags |= FL_JUMPHELD; pmove->flags |= FL_JUMPHELD;
return; return;
} }