﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	phab_field
1731	Mismatch between query and target range	historic_bruno		"While testing packing siege (#1718), I noticed an apparent mismatch between target range and queries from the range manager. This is really only noticeable for units in ""standground"" stance, as they have a range query equal to attack range. Test as follows:
* Create new map, place a ranged unit and set him in standground stance
* Place some enemy buildings outside his range
* Gradually move the enemy buildings closer until he responds by attacking them
* Now delete or move the building he is attacking, he will become idle and not detect the other building.
* Target the other building and confirm the unit can attack it without moving.
* This means the target is in attack range but was not detected by the range query.

Needs a close inspection of e.g. `CCmpUnitMotion::IsInTargetRange`, `CCmpRangeManager::PerformQuery`, and `UnitAI.js` to determine what's going wrong."	defect	new	Should Have	Backlog	UI & Simulation				
