* Sets UFO to break off mode. Started via timer. */
| 1449 | * Sets UFO to break off mode. Started via timer. |
| 1450 | */ |
| 1451 | void DogfightState::ufoBreakOff() |
| 1452 | { |
| 1453 | if(!_ufo->isCrashed() && !_ufo->isDestroyed() && !_craft->isDestroyed()) |
| 1454 | { |
| 1455 | _ufo->setSpeed(_ufo->getRules()->getMaxSpeed()); |
| 1456 | _ufoBreakingOff = true; |
| 1457 | } |
| 1458 | } |
| 1459 | |
| 1460 | /* |
| 1461 | * Draws the UFO blob on the radar screen. |
nothing calls this directly
no test coverage detected