-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
map::find_clear_path returns invalid trajectory for some 3D cases #39693
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not 'bump' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered. |
Should be fixed by #38730 |
Nope, still happens on current master. You can see it while aiming: the code basically calls Could be related to / a dupe of #13601 btw |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not 'bump' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered. |
Describe the bug
When 3D FOV enabled,
map::find_clear_path
returns weird values whenabs(dx) == dz
orabs(dy) == dz
Steps To Reproduce
Expected behavior
map::find_clear_path
returns a valid trajectoryVersions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Magiclysm [magiclysm]
]
Additional context
I'm not familiar with CDDA's tests, but there doesn't seem to be any for
map::find_clear_path
.The text was updated successfully, but these errors were encountered: