(minor) can't jump on frame one by holding jump when getting j-upgrade

This commit is contained in:
KikooDX 2020-02-14 15:35:30 +01:00
parent 3ba0d3573b
commit fb02ad5ba1
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -36,7 +36,7 @@ int main(void)
0 //can jump
};
//end upgrades
char jump_pressed = 0; //avoid holding jump
char jump_pressed = 1; //avoid holding jump
char jump_buffer = 0; //jump buffer, last 3 frames
unsigned int jump_hold = 0; //number of consecutive frames jump has been held
double vspd = 0; //player vertical speed