station_gui.c
changeset 2084 d67790a49f78
parent 2070 26c657906f25
child 2159 3b634157c3b2
equal deleted inserted replaced
2083:53c01afebd95 2084:d67790a49f78
   370 		}
   370 		}
   371 
   371 
   372 		if ( st->goods[i].enroute_from == station_id) {
   372 		if ( st->goods[i].enroute_from == station_id) {
   373 			if (--pos < 0) {
   373 			if (--pos < 0) {
   374 				SetDParam(1, waiting);
   374 				SetDParam(1, waiting);
   375 				SetDParam(0, _cargoc.names_long_s[i] + (waiting==1 ? 0 : 32));
   375 				SetDParam(0, _cargoc.names_long[i]);
   376 				DrawStringRightAligned(x + 234, y, STR_0009, 0);
   376 				DrawStringRightAligned(x + 234, y, STR_0009, 0);
   377 				y += 10;
   377 				y += 10;
   378 			}
   378 			}
   379 		} else {
   379 		} else {
   380 			/* enroute */
   380 			/* enroute */
   381 			if (--pos < 0) {
   381 			if (--pos < 0) {
   382 				SetDParam(1, waiting);
   382 				SetDParam(1, waiting);
   383 				SetDParam(0, _cargoc.names_long_s[i] + (waiting==1 ? 0 : 32));
   383 				SetDParam(0, _cargoc.names_long[i]);
   384 				DrawStringRightAligned(x + 234, y, STR_000A_EN_ROUTE_FROM, 0);
   384 				DrawStringRightAligned(x + 234, y, STR_000A_EN_ROUTE_FROM, 0);
   385 				y += 10;
   385 				y += 10;
   386 			}
   386 			}
   387 
   387 
   388 			if (pos > -5 && --pos < 0) {
   388 			if (pos > -5 && --pos < 0) {