Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-11-02 21:32:11 +0000
committerStijn Buys <ingar@osirion.org>2013-11-02 21:32:11 +0000
commiteeb9eb02113f2c483cce404460b22f11997a5b0c (patch)
treeef22e65c77014885377fc345cbc7be6a61455224 /src/game/base/ship.cc
parent4eedeb0bc1f40f6a67f609514f9732c8ec5a5c6d (diff)
Copy currently mounted weapons onto wingmen.
Diffstat (limited to 'src/game/base/ship.cc')
-rw-r--r--src/game/base/ship.cc2
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;