Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Change: Don't apply forbid 90 deg turn settings to ships. #7232
If it is not useful, it may be disabled by users.
It works as expected right now. I see no problem with it. I see more problems with OPF.
I use this feature and I like to use it with other patches I created. Can we keep this one? I see no problem in keeping it. Probably, the setting should be converted into two different settings (trains and ships), but that is another different thing that shouldn't be discussed on this PR.
Ok, so adding a penaltly for 90° turns only works when TrackDir is used as NodeKey instead of ExitDir, which is apparently a performance option. I think it'll mean it will search more tile combinations, which is not ideal. Might not be particularly problematic with the ship path cache now, though.