Low friction and Disable Jump

We will look into disabling jump a better way later
This commit is contained in:
Sryder committed 2017-03-05 22:08:13 +00:00
1 parent ba9ca32c54
commit 92f33c1d60
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -394,7 +394,7 @@ typedef struct
// SRB2kart - TODO: To satisfy Iceman's craving, I'll leave this here: 62914 : Is the number he wants friction to be.
// Friction defines.
#define ORIG_FRICTION (0xE8 << (FRACBITS-8)) ///< Original value.
#define ORIG_FRICTION (62914) ///< Original value.
#define ORIG_FRICTION_FACTOR (8 << (FRACBITS-8)) ///< Original value.
void T_Friction(friction_t *f);
+2
View File
@@ -3584,6 +3584,8 @@ void P_DoJump(player_t *player, boolean soundandstate)
fixed_t factor;
const fixed_t dist6 = FixedMul(FixedDiv(player->speed, player->mo->scale), player->actionspd)/20;
return;
if (player->pflags & PF_JUMPSTASIS)
return;