From: Ingo Ruhnke Date: Thu, 29 Apr 2004 00:51:23 +0000 (+0000) Subject: - fixed align of lives display to handle >10 lives X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=3d9d19f47c0dd104980173f2dc2196810b51fd14;p=supertux.git - fixed align of lives display to handle >10 lives SVN-Revision: 829 --- diff --git a/src/gameloop.cpp b/src/gameloop.cpp index 4e4c622bf..b739d0565 100644 --- a/src/gameloop.cpp +++ b/src/gameloop.cpp @@ -692,7 +692,7 @@ GameSession::drawstatus() if (player_status.lives >= 5) { sprintf(str, "%dx", player_status.lives); - gold_text->draw(str, 585, 20); + gold_text->draw_align(str, 617, 20, A_RIGHT, A_TOP); tux_life->draw(565+(18*3), 20); } else diff --git a/src/worldmap.cpp b/src/worldmap.cpp index 826f2260e..fbe34c9a6 100644 --- a/src/worldmap.cpp +++ b/src/worldmap.cpp @@ -826,7 +826,7 @@ WorldMap::draw_status() if (player_status.lives >= 5) { sprintf(str, "%dx", player_status.lives); - gold_text->draw(str, 585, 0); + gold_text->draw_align(str, 617, 0, A_RIGHT, A_TOP); tux_life->draw(565+(18*3), 0); } else