mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-01 19:16:44 +01:00
log HP to console at the end of level (lol)
This commit is contained in:
parent
5a846cea24
commit
d98dcca2e4
1 changed files with 1 additions and 0 deletions
|
@ -422,6 +422,7 @@ bool FadeOut(struct Game *game, struct TM_Action *action, enum TM_ActionState st
|
||||||
*fadeloop+=tps(game, 600);
|
*fadeloop+=tps(game, 600);
|
||||||
if (*fadeloop>=256) return true;
|
if (*fadeloop>=256) return true;
|
||||||
} else {
|
} else {
|
||||||
|
PrintConsole(game, "Leaving level with %d HP", (int)(game->level.hp*100));
|
||||||
al_destroy_bitmap(fade_bitmap);
|
al_destroy_bitmap(fade_bitmap);
|
||||||
free(fadeloop);
|
free(fadeloop);
|
||||||
Level_Unload(game);
|
Level_Unload(game);
|
||||||
|
|
Loading…
Reference in a new issue