Skip to content
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

Fix isWithinMaxRange function in AiTravel [0.45.0 regression] #2008

Merged
merged 1 commit into from
Nov 1, 2018

Conversation

Capostrophic
Copy link
Collaborator

This fixes the major problem brought in (surprisingly) by actor processing optimization and not recastnavigation introduction: AiTravel is completely broken.

isWithinMaxRange was using incorrect type for AI processing range so it almost always returned false, breaking AiTravel. JDGBOLT discovered this.

This should be cherry-picked to 0.45.0 branch. I wanted to make some cleanup but it was too specific to recastnavigation pathfinding.

@psi29a
Copy link
Member

psi29a commented Nov 1, 2018

So this is a regression for 0.45, not caused by recastnavigation. Glad we got that cleared up. :)

@psi29a psi29a merged commit 9c3b4b6 into OpenMW:master Nov 1, 2018
@psi29a
Copy link
Member

psi29a commented Nov 1, 2018

cherry-picked to 0.45 branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants