diff options
Diffstat (limited to 'src/game/base/ship.cc')
-rw-r--r-- | src/game/base/ship.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game/base/ship.cc b/src/game/base/ship.cc index 5d8ace2..16c2ea8 100644 --- a/src/game/base/ship.cc +++ b/src/game/base/ship.cc @@ -1206,13 +1206,11 @@ void Ship::frame_autopilot_formation(const unsigned long elapsed, core::Entity * // target is behind the ship target_direction = math::sgnf(reference.forward().y()); target_pitch = 0.0f; - target_roll = 0.0f; } else if (reference.forward().x() + MIN_DELTA < 1.0f) { // target is in front of the ship target_direction = reference.forward().y(); target_pitch = reference.forward().z(); - target_roll = 0.0f; } else { target_direction = 0.0f; |