src/timetable_cmd.cpp
changeset 9344 1be7ac6bd504
parent 9339 daaa2adbaf99
child 10079 99aba130db3c
--- a/src/timetable_cmd.cpp	Sun Apr 06 23:49:45 2008 +0000
+++ b/src/timetable_cmd.cpp	Mon Apr 07 08:59:04 2008 +0000
@@ -70,7 +70,7 @@
 	bool is_journey = HasBit(p1, 24) || packed_time;
 	if (!is_journey) {
 		if (!order->IsType(OT_GOTO_STATION)) return_cmd_error(STR_TIMETABLE_ONLY_WAIT_AT_STATIONS);
-		if (_patches.new_nonstop && (order->GetNonStopType() & OFB_NON_STOP)) return_cmd_error(STR_TIMETABLE_NOT_STOPPING_HERE);
+		if (order->GetNonStopType() & ONSF_NO_STOP_AT_DESTINATION_STATION) return_cmd_error(STR_TIMETABLE_NOT_STOPPING_HERE);
 	}
 
 	if (flags & DC_EXEC) {