From d98dcca2e4aee94569b1adbb2e87f01199254358 Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Sun, 20 May 2012 00:16:55 +0200 Subject: [PATCH] log HP to console at the end of level (lol) --- src/level.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/level.c b/src/level.c index 4018fa9..0c8e7e0 100644 --- a/src/level.c +++ b/src/level.c @@ -422,6 +422,7 @@ bool FadeOut(struct Game *game, struct TM_Action *action, enum TM_ActionState st *fadeloop+=tps(game, 600); if (*fadeloop>=256) return true; } else { + PrintConsole(game, "Leaving level with %d HP", (int)(game->level.hp*100)); al_destroy_bitmap(fade_bitmap); free(fadeloop); Level_Unload(game);