forked from mirror/OpenTTD
(svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings.
This commit is contained in:
@@ -642,9 +642,9 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
|
||||
SetDParam(0, this->x);
|
||||
SetDParam(1, this->y);
|
||||
}
|
||||
int right = DrawString(0, 326, 91, STR_HEIGHTMAP_SIZE, TC_BLACK, SA_RIGHT);
|
||||
int right = DrawString(0, 326, 91, STR_HEIGHTMAP_SIZE, TC_FROMSTRING, SA_RIGHT);
|
||||
|
||||
DrawString( 12, 114, 91, STR_HEIGHTMAP_NAME, TC_BLACK);
|
||||
DrawString( 12, 114, 91, STR_HEIGHTMAP_NAME);
|
||||
SetDParamStr(0, this->name);
|
||||
DrawString(114, right - 5, 91, STR_JUST_RAW_STRING, TC_ORANGE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user