src/strings.cpp
changeset 10114 1ce7c1597f10
parent 10113 2aabf259aaf3
child 10135 21b4050a479b
equal deleted inserted replaced
10113:2aabf259aaf3 10114:1ce7c1597f10
   842 
   842 
   843 				if (!IsValidStationID(sid)) {
   843 				if (!IsValidStationID(sid)) {
   844 					/* The station doesn't exist anymore. The only place where we might
   844 					/* The station doesn't exist anymore. The only place where we might
   845 					 * be "drawing" an invalid station is in the case of cargo that is
   845 					 * be "drawing" an invalid station is in the case of cargo that is
   846 					 * in transit. */
   846 					 * in transit. */
   847 					buff = GetStringWithArgs(buff, STR_UNKNOWN_DESTINATION, NULL, last);
   847 					buff = GetStringWithArgs(buff, STR_UNKNOWN_STATION, NULL, last);
   848 					break;
   848 					break;
   849 				}
   849 				}
   850 
   850 
   851 				const Station *st = GetStation(sid);
   851 				const Station *st = GetStation(sid);
   852 				if (st->name != NULL) {
   852 				if (st->name != NULL) {