diff -r 513433ebd092 -r 30b43c605f21 yapf/yapf_base.hpp --- a/yapf/yapf_base.hpp Wed Jun 07 19:35:21 2006 +0000 +++ b/yapf/yapf_base.hpp Wed Jun 07 21:16:43 2006 +0000 @@ -186,10 +186,11 @@ /** add multiple nodes - direct children of the given node */ FORCEINLINE void AddMultipleNodes(Node* parent, TileIndex tile, TrackdirBits td_bits) { + bool is_choice = (KillFirstBit2x64(td_bits) != 0); for (TrackdirBits rtds = td_bits; rtds != TRACKDIR_BIT_NONE; rtds = (TrackdirBits)KillFirstBit2x64(rtds)) { Trackdir td = (Trackdir)FindFirstBit2x64(rtds); Node& n = Yapf().CreateNewNode(); - n.Set(parent, tile, td); + n.Set(parent, tile, td, is_choice); Yapf().AddNewNode(n); } }