Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/base/ship.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/base/ship.cc b/src/game/base/ship.cc
index f12700d..4a77706 100644
--- a/src/game/base/ship.cc
+++ b/src/game/base/ship.cc
@@ -941,7 +941,7 @@ void Ship::frame(const unsigned long elapsed)
// fire a projectile if the angle between the aim direction and the slot's forward direction is small enough
// we only need half the cone angle for the cosine calculation
- float conecos = cosf(slot->cone());
+ float conecos = cosf(slot->cone() * 0.5f);
if (cosa >= conecos) {
// aim