﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	phab_field
3534	Pathfinder - Some unused constants	elexis		"`WAYPOINT_ADVANCE_MAX` and `SHORT_PATH_GOAL_RADIUS` were both introduced in r10902 and all places where they were used were removed in r16751. But they are still defined in `CCmpUnitMotion.cpp`.

There might be more unused constants, see also #3500. At least all the other constants in 
`CCmpUnitMotion.cpp` are in use.

Was that functionality actually removed? If so, that might also explain #3530.
{{{
/**
 * When short-pathing to an intermediate waypoint, we aim for a circle of this radius
 * around the waypoint rather than expecting to reach precisely the waypoint itself
 * (since it might be inside an obstacle).
 */
static const entity_pos_t SHORT_PATH_GOAL_RADIUS = entity_pos_t::FromInt(TERRAIN_TILE_SIZE*3/2);
}}}"	defect	new	Nice to Have	Backlog	Core engine		pathfinding		
