Merge branch 'cargo_type_order' into jgrpp
# Conflicts: # src/pathfinder/yapf/yapf_common.hpp # src/saveload/extended_ver_sl.cpp # src/saveload/order_sl.cpp # src/saveload/station_sl.cpp # src/track_func.h
This commit is contained in:
@@ -65,7 +65,7 @@ public:
|
||||
|
||||
/* use vehicle's current direction if that's possible, otherwise use first usable one. */
|
||||
Trackdir veh_dir = v->GetVehicleTrackdir();
|
||||
return ((trackdirs & TrackdirToTrackdirBits(veh_dir)) != 0) ? veh_dir : (Trackdir)FindFirstBit2x64(trackdirs);
|
||||
return (HasTrackdir(trackdirs, veh_dir)) ? veh_dir : (Trackdir)FindFirstBit2x64(trackdirs);
|
||||
}
|
||||
|
||||
/* move back to the old tile/trackdir (where ship is coming from) */
|
||||
|
Reference in New Issue
Block a user