(svn r10820) -Codechange: make negative currencies red and restore the colour from before the currency was printed; this removes the need to make two strings for printing currencies (one for positive currencies and one for negative currencies).
-Fix [FS#1036]: do not use green for currencies as it is practically unreadable on CRT monitors.
This commit is contained in:
@@ -2068,7 +2068,7 @@ static void StatusBarWndProc(Window *w, WindowEvent *e)
|
||||
if (p != NULL) {
|
||||
/* Draw player money */
|
||||
SetDParam(0, p->player_money);
|
||||
DrawStringCentered(w->widget[2].left + 70, 1, p->player_money >= 0 ? STR_0004 : STR_0005, 0);
|
||||
DrawStringCentered(w->widget[2].left + 70, 1, STR_0004, 0);
|
||||
}
|
||||
|
||||
/* Draw status bar */
|
||||
|
Reference in New Issue
Block a user