From 3d9d19f47c0dd104980173f2dc2196810b51fd14 Mon Sep 17 00:00:00 2001 From: Ingo Ruhnke Date: Thu, 29 Apr 2004 00:51:23 +0000 Subject: [PATCH] - fixed align of lives display to handle >10 lives SVN-Revision: 829 --- src/gameloop.cpp | 2 +- src/worldmap.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.11.0