mirror of
https://github.com/ENSL/NS.git
synced 2024-11-22 12:41:33 +00:00
revert unintentional changes to commented code
This commit is contained in:
parent
3010fd50f6
commit
9d9696de6a
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue