Fix NavigationLink enabled toggle

Fixes NavigationLink enabled toggle.
This commit is contained in:
smix8 2023-10-21 03:11:37 +02:00
parent 6543495b49
commit ade4d3cf28

View file

@ -953,6 +953,9 @@ void NavMap::sync() {
// Search for polygons within range of a nav link.
for (const NavLink *link : links) {
if (!link->get_enabled()) {
continue;
}
const Vector3 start = link->get_start_position();
const Vector3 end = link->get_end_position();