diff options
Diffstat (limited to 'src/game/base')
-rw-r--r-- | src/game/base/ship.cc | 2 |
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 |