mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-23 07:06:36 +00:00
e916b8cc01
Splash falloff was calculated using centre-to-point distance, where nearest-edge to nearest-edge ought to have been used. Use DistanceToPoint to correct for that. Make sure the damage multiplier cannot go negative. Remove GetUnitSize in favour of GetSize. Reviewed By: bb Differential Revision: https://code.wildfiregames.com/D2963 This was SVN commit r24010.