Fixed Coins text position in world map.
authorRicardo Cruz <rick2@aeiou.pt>
Sat, 15 May 2004 11:29:47 +0000 (11:29 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Sat, 15 May 2004 11:29:47 +0000 (11:29 +0000)
SVN-Revision: 1191

src/worldmap.cpp

index c010d58..d97d910 100644 (file)
@@ -816,7 +816,7 @@ WorldMap::draw_status()
 
   sprintf(str, "%d", player_status.distros);
   white_text->draw_align("COINS", screen->w/2 - white_text->w*5, 0,  A_LEFT, A_TOP);
-  gold_text->draw_align(str, screen->w/2, 0, A_RIGHT, A_TOP);
+  gold_text->draw_align(str, screen->w/2 + (white_text->w*5)/2, 0, A_RIGHT, A_TOP);
 
   white_text->draw("LIVES", screen->w - white_text->w*9, 0);
   if (player_status.lives >= 5)