summaryrefslogtreecommitdiff
path: root/src/highscore_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-04-26 15:26:19 +0000
committerrubidium <rubidium@openttd.org>2009-04-26 15:26:19 +0000
commit7dd677ced22abb688b2ed69f99faed211f3554b1 (patch)
treedf4ab2d279bb9ba905f4c04a0e80fa48cbeaa15c /src/highscore_gui.cpp
parent3301afa5c3b2fe2bf24ef7ab9333df8a88334fb9 (diff)
downloadopenttd-7dd677ced22abb688b2ed69f99faed211f3554b1.tar.xz
(svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings.
Diffstat (limited to 'src/highscore_gui.cpp')
-rw-r--r--src/highscore_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/highscore_gui.cpp b/src/highscore_gui.cpp
index 842b6d045..efb399160 100644
--- a/src/highscore_gui.cpp
+++ b/src/highscore_gui.cpp
@@ -147,7 +147,7 @@ struct HighScoreWindow : EndGameHighScoreBaseWindow {
/* Draw Highscore peepz */
for (uint8 i = 0; i < lengthof(_highscore_table[0]); i++) {
SetDParam(0, i + 1);
- DrawString(x + 40, x + 600, y + 140 + (i * 55), STR_HIGHSCORE_POSITION, TC_BLACK);
+ DrawString(x + 40, x + 600, y + 140 + (i * 55), STR_HIGHSCORE_POSITION);
if (hs[i].company[0] != '\0') {
TextColour colour = (this->rank == i) ? TC_RED : TC_BLACK; // draw new highscore in red