Fix update_wandering_targets target validation logic

- Restored original target selection logic that validates is_standable_tile
- Fixed target position z-level checking (check floor tile then standable)
- Re-added check for completed paths (path_index >= path.len)
- This was the cause of 50,297 failed paths - entities targeting invalid positions
This commit is contained in:
2026-03-18 15:45:25 +00:00
parent 367ab26d5e
commit 0550191c7a
4 changed files with 13707 additions and 21 deletions
+2380
View File
File diff suppressed because it is too large Load Diff