HomeWildfire Games

Fix EntitiesNearPoint range query

Description

Fix EntitiesNearPoint range query

Use a fixed range delta around the missile hit-location for neighboring entities to damage.
Use a common query for GAIA and non-GAIA entities.
Do not presume attackable entities have Health.
Fix an issue where gaia entities were returned twice.

This fixes concerns reported by elexis at rP23012 and by Freagarach at rP22754.

Differential Revision: https://code.wildfiregames.com/D2738

Event Timeline

So now trees *are* considered?

So now trees *are* considered?

Yes. As said in the commit message -> there's no obvious way to take them out, but since the usual "range" for the function is rather small, it's not likely to be a big issue.
Though we'll end up sending spurious "attacked" messages to trees, which should be fixed.