﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,phab_field
4278,CCmpUnitMotion bug when unit inside obstruction,mimo,,"While trying to understand a case where a unit would not leave a foundation, i've found a bug in MoveToTargetRange of CCmpUnitMotion: the DistanceToSquare of lines 1574 and 1579 should have an additional parameter (countInsideAsZero) true, otherwise all the following logic does not make any sense. Doing such a change fixed the problem in my case.
In the case of LeaveFoundation, such a change is definitively needed. But it should be checked that it is also needed in all use case of this MoveToTargetRange function when inside the obstruction.",defect,new,Must Have,Alpha 21,Core engine,,,Itms,
