Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31922/src
Modified Files:
gameloop.cpp
Log Message:
Fixed aligment of Coins with Lives.
Index: gameloop.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/gameloop.cpp,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -d -r1.149 -r1.150
--- gameloop.cpp 9 Jun 2004 05:23:19 -0000 1.149
+++ gameloop.cpp 9 Jun 2004 11:41:50 -0000 1.150
@@ -721,7 +721,7 @@
sprintf(str, " %d", player_status.distros);
context.draw_text(white_text, _("COINS"),
- Vector(screen->w - white_text->get_text_width(_("COINS"))-white_text->get_text_width(str), 0),
+ Vector(screen->w - white_text->get_text_width(_("COINS"))-white_text->get_text_width(" 99"), 0),
LAYER_FOREGROUND1);
context.draw_text(gold_text, str,
Vector(screen->w - gold_text->get_text_width(" 99"), 0),LAYER_FOREGROUND1);
|