diff options
Diffstat (limited to 'src/pathfinder/yapf/yapf_node_road.hpp')
-rw-r--r-- | src/pathfinder/yapf/yapf_node_road.hpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/pathfinder/yapf/yapf_node_road.hpp b/src/pathfinder/yapf/yapf_node_road.hpp index 5cc2d5539..9a392f088 100644 --- a/src/pathfinder/yapf/yapf_node_road.hpp +++ b/src/pathfinder/yapf/yapf_node_road.hpp @@ -14,13 +14,11 @@ /** Yapf Node for road YAPF */ template <class Tkey_> -struct CYapfRoadNodeT - : CYapfNodeT<Tkey_, CYapfRoadNodeT<Tkey_> > -{ +struct CYapfRoadNodeT : CYapfNodeT<Tkey_, CYapfRoadNodeT<Tkey_> > { typedef CYapfNodeT<Tkey_, CYapfRoadNodeT<Tkey_> > base; - TileIndex m_segment_last_tile; - Trackdir m_segment_last_td; + TileIndex m_segment_last_tile; + Trackdir m_segment_last_td; void Set(CYapfRoadNodeT *parent, TileIndex tile, Trackdir td, bool is_choice) { |