Reset vertical speed on death

This commit is contained in:
KikooDX 2020-02-13 12:22:34 +01:00
parent 682f4fb49f
commit 25dfdf1fc8
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ int main(void)
{
player_x = start_x;
player_y = start_y;
vpsd = 0;
}
//elevator collision and raise
if (collide(player_x - 1, player_y, level, '^') ||