equal
deleted
inserted
replaced
168 } |
168 } |
169 |
169 |
170 if (order->flags & OF_FULL_LOAD) s++; /* service at */ |
170 if (order->flags & OF_FULL_LOAD) s++; /* service at */ |
171 |
171 |
172 SetDParam(1, s); |
172 SetDParam(1, s); |
173 if (order->refit_cargo == CT_NO_REFIT) { |
173 if (order->refit_cargo < NUM_CARGO) { |
174 SetDParam(3, STR_EMPTY); |
|
175 } else { |
|
176 SetDParam(3, STR_REFIT_ORDER); |
174 SetDParam(3, STR_REFIT_ORDER); |
177 SetDParam(4, _cargoc.names_s[order->refit_cargo]); |
175 SetDParam(4, _cargoc.names_s[order->refit_cargo]); |
|
176 } else { |
|
177 SetDParam(3, STR_EMPTY); |
178 } |
178 } |
179 break; |
179 break; |
180 } |
180 } |
181 |
181 |
182 case OT_GOTO_WAYPOINT: |
182 case OT_GOTO_WAYPOINT: |