equal
deleted
inserted
replaced
800 } |
800 } |
801 |
801 |
802 case SCC_STATION_NAME: { // {STATION} |
802 case SCC_STATION_NAME: { // {STATION} |
803 const Station* st = GetStation(GetInt32(&argv)); |
803 const Station* st = GetStation(GetInt32(&argv)); |
804 |
804 |
805 if (!IsValidStation(st)) { // station doesn't exist anymore |
805 if (!st->IsValid()) { // station doesn't exist anymore |
806 buff = GetStringWithArgs(buff, STR_UNKNOWN_DESTINATION, NULL, last); |
806 buff = GetStringWithArgs(buff, STR_UNKNOWN_DESTINATION, NULL, last); |
807 } else { |
807 } else { |
808 int32 temp[2]; |
808 int32 temp[2]; |
809 temp[0] = st->town->townnametype; |
809 temp[0] = st->town->townnametype; |
810 temp[1] = st->town->townnameparts; |
810 temp[1] = st->town->townnameparts; |