* Switches to Standoff mode (maximum range). * @param action Pointer to an action. */
| 1314 | * @param action Pointer to an action. |
| 1315 | */ |
| 1316 | void DogfightState::btnStandoffClick(Action *) |
| 1317 | { |
| 1318 | if (!_ufo->isCrashed() && !_craft->isDestroyed() && !_ufoBreakingOff) |
| 1319 | { |
| 1320 | _end = false; |
| 1321 | setStatus("STR_STANDOFF"); |
| 1322 | _targetDist = STANDOFF_DIST; |
| 1323 | } |
| 1324 | } |
| 1325 | |
| 1326 | /** |
| 1327 | * Switches to Cautious mode (maximum weapon range). |
nothing calls this directly
no test coverage detected