forked from kdx/jtmm2-old
Fix jump buffering exploit.
This commit is contained in:
parent
fc8eb2b31c
commit
01d263aa27
2
levels
2
levels
|
@ -1 +1 @@
|
|||
Subproject commit f44a0a7b7d0d7e55d767f3f5406f39c49e4d7670
|
||||
Subproject commit 2045e4fe5db9c475db850a64726a6c37d8ba7c99
|
|
@ -151,6 +151,7 @@ void player_step(Player *player, Input *input, const Level *level, uint step) {
|
|||
player->grace = 0;
|
||||
player->spd.y = player->vars.jump_spd;
|
||||
player->jump_held = true;
|
||||
input->last_press[K_JUMP] = 0;
|
||||
}
|
||||
}
|
||||
/* See if the player is still holding their jump button, this is
|
||||
|
|
Loading…
Reference in New Issue