Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix coordinate handling re submaps_with_active_items
This was using abs_sub inapropriately to convert between absolute and local coordinates. Only x and y coordinates need conversion, z does not. Also map::get_active_items_in_radius() was failing to convert entirely.
- Loading branch information
1 parent
49d4715
commit bbf6f77
Showing
1 changed file
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters