File diff r4292:340dc5050536 → r4293:cbb984a32af5
player_gui.c
Show inline comments
 
@@ -43,14 +43,14 @@ static void DrawPlayerEconomyStats(const
 
		/* draw the price columns */
 
		year = _cur_year - 2;
 
		j = 3;
 
		x = 215;
 
		tbl = p->yearly_expenses + 2;
 
		do {
 
			if (year >= p->inaugurated_year) {
 
				SetDParam(0, BASE_YEAR + year);
 
			if (year >= BASE_YEAR + p->inaugurated_year) {
 
				SetDParam(0, year);
 
				DrawStringCenterUnderline(x-17, 15, STR_7010, 0);
 
				sum = 0;
 
				for (i = 0; i != 13; i++) {
 
					/* draw one row in the price column */
 
					cost = (*tbl)[i];
 
					if (cost != 0) {