diff options
author | KUDr <KUDr@openttd.org> | 2006-06-07 21:16:43 +0000 |
---|---|---|
committer | KUDr <KUDr@openttd.org> | 2006-06-07 21:16:43 +0000 |
commit | 68372f4c16825f2dad27d61184b37781d65a11a8 (patch) | |
tree | ec0d2f5e5f9b8c22f38e6f35337163991e2511ba /yapf/yapf_node_road.hpp | |
parent | 7fd88e57981e15cd8f2c11a2134e289dbe1b856e (diff) | |
download | openttd-68372f4c16825f2dad27d61184b37781d65a11a8.tar.xz |
(svn r5162) - CodeChange: [YAPF] added flag "choice seen" into YAPF node for trains
Diffstat (limited to 'yapf/yapf_node_road.hpp')
-rw-r--r-- | yapf/yapf_node_road.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yapf/yapf_node_road.hpp b/yapf/yapf_node_road.hpp index 8a6888565..dc6f1be3a 100644 --- a/yapf/yapf_node_road.hpp +++ b/yapf/yapf_node_road.hpp @@ -15,9 +15,9 @@ struct CYapfRoadNodeT TileIndex m_segment_last_tile; Trackdir m_segment_last_td; - void Set(CYapfRoadNodeT* parent, TileIndex tile, Trackdir td) + void Set(CYapfRoadNodeT* parent, TileIndex tile, Trackdir td, bool is_choice) { - base::Set(parent, tile, td); + base::Set(parent, tile, td, is_choice); m_segment_last_tile = tile; m_segment_last_td = td; } |