mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-17 10:11:12 +00:00
Low friction and Disable Jump
We will look into disabling jump a better way later
This commit is contained in:
parent
ba9ca32c54
commit
92f33c1d60
2 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue