fix time over bug

This commit is contained in:
Milang 2020-02-16 11:14:53 +01:00
parent e2b6eac34b
commit ef10b6c6e6
4 changed files with 2 additions and 4 deletions

Binary file not shown.

Binary file not shown.

View File

@ -313,8 +313,7 @@ int PlayLevel(int w, int l)
{
quit_refresh();
// TODO ajouter temps au score etc
if (finish_level==1)
sleep_ms(3,3000);
if (finish_level==1) sleep_ms(3,3000); // win
return finish_level;
}

View File

@ -126,8 +126,7 @@ void score_display()
sleep_ms(3,1000);
sleep_ms(3,1000);
sleep_ms(3,1000);
finish_level=0;
mario_dead=1;
finish_level=2;
}
}