mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-27 09:06:58 +00:00
b3c5347e26
Follows fromd0fc8ff67d,95dbb8be25. The original diff asserted that only "real" entities would make range queries. This proved inaccurate as building previews can too. However, simply removing the assertion doesn't fix the issue, given that they still aren't found and we still need to account for their size. This fixes that properly by special-casing local entities. Thanks s0600204 for giving this a look. Reported by: Mr.lie Differential Revision: https://code.wildfiregames.com/D3132 This was SVN commit r24231.