Ensure crushed characters are fetched from the correct location #77805
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
None
Purpose of change
Fix #77786, i.e. crushing due to explosions using the reality bubble coordinates rather than the coordinates of the explosion map.
Describe the solution
Fetch the character from the correct global coordinates rather than feeding the explosion bubble coordinates into a fetch operation that does the same conversion but using the official reality bubble as the coordinate reference.
Describe alternatives you've considered
Testing
Followed the instructions in the bug report save, verifying the issue (and locating the location where it goes wrong through the debugger).
Modified the code.
Repeated the bug report replication, seeing no reports about the PC being affected by anything.
Additional context
This is a side effect of the change to make explosions with effects at least partially outside of the reality bubble being performed in their own map. The creature tracker, however, is always assuming bubble coordinates refer to the official reality bubble, so you have to make use of the corresponding operation using absolute coordinates to get the correct result.