Home
last modified time | relevance | path

Searched refs:minAttackerDistance (Results 1 – 1 of 1) sorted by relevance

/dports/games/ufoai/ufoai-2.5-source/src/client/cgame/campaign/
H A Dcp_mapfightequip.cpp1212 float minAttackerDistance = -1; in BDEF_AutoTarget() local
1239 if ((minAttackerDistance < 0 || minAttackerDistance > distance) && ufo->mission in BDEF_AutoTarget()
1242 minAttackerDistance = distance; in BDEF_AutoTarget()
1266 const int test = AIRFIGHT_CheckWeapon(slot, minAttackerDistance); in BDEF_AutoTarget()
1269 && (minAttackerDistance <= slot->ammo->craftitem.stats[AIR_STATS_WRANGE])) in BDEF_AutoTarget()