File diff r1961:7949b074d614 → r1962:cc4c06e3f6b5
subsidy_gui.c
Show inline comments
 
@@ -103,25 +103,25 @@ static void DrawSubsidiesWindow(Window *
 
		DrawString(x+2, y, STR_202A_NONE, 0);
 
		y += 10;
 
	}
 

	
 
	DrawString(x, y+1, STR_202B_SERVICES_ALREADY_SUBSIDISED, 0);
 
	y += 10;
 
	num = 0;
 

	
 
	for(s=_subsidies; s != endof(_subsidies); s++) {
 
		if (s->cargo_type != 0xFF && s->age >= 12) {
 
			SetupSubsidyDecodeParam(s, 1);
 

	
 
			p = DEREF_PLAYER(GetStation(s->to)->owner);
 
			p = GetPlayer(GetStation(s->to)->owner);
 
			SetDParam(3, p->name_1);
 
			SetDParam(4, p->name_2);
 

	
 
			xt = DrawString(x+2, y, STR_202C_FROM_TO, 0);
 

	
 
			SetDParam(0, _date - ymd.day + 768 - s->age * 32);
 
			DrawString(xt, y, STR_202D_UNTIL, 0);
 
			y += 10;
 
			num++;
 
		}
 
	}