equal
deleted
inserted
replaced
120 y += 10; |
120 y += 10; |
121 num = 0; |
121 num = 0; |
122 |
122 |
123 for (s = _subsidies; s != endof(_subsidies); s++) { |
123 for (s = _subsidies; s != endof(_subsidies); s++) { |
124 if (s->cargo_type != CT_INVALID && s->age >= 12) { |
124 if (s->cargo_type != CT_INVALID && s->age >= 12) { |
125 const Player *p; |
|
126 int xt; |
125 int xt; |
127 |
126 |
128 SetupSubsidyDecodeParam(s, 1); |
127 SetupSubsidyDecodeParam(s, 1); |
129 |
128 |
130 p = GetPlayer(GetStation(s->to)->owner); |
129 PlayerID player = GetStation(s->to)->owner; |
131 SetDParam(3, p->name_1); |
130 SetDParam(3, player); |
132 SetDParam(4, p->name_2); |
|
133 |
131 |
134 xt = DrawString(x + 2, y, STR_202C_FROM_TO, 0); |
132 xt = DrawString(x + 2, y, STR_202C_FROM_TO, 0); |
135 |
133 |
136 SetDParam(0, _date - ymd.day + 768 - s->age * 32); |
134 SetDParam(0, _date - ymd.day + 768 - s->age * 32); |
137 DrawString(xt, y, STR_202D_UNTIL, 0); |
135 DrawString(xt, y, STR_202D_UNTIL, 0); |