]> git.mxchange.org Git - flightgear.git/commitdiff
reticle should fit into bounding box (don't take diameter as radius)
authormfranz <mfranz>
Sat, 22 Jul 2006 17:27:43 +0000 (17:27 +0000)
committermfranz <mfranz>
Sat, 22 Jul 2006 17:27:43 +0000 (17:27 +0000)
src/Instrumentation/HUD/HUD_misc.cxx

index fce0ada2d88d95d3158b226b5fb4eb00b4df6710..d91916fca4743f2d127624924dba1b8c335317d0 100644 (file)
@@ -32,8 +32,8 @@ HUD::AimingReticle::AimingReticle(HUD *hud, const SGPropertyNode *n, float x, fl
     Item(hud, n, x, y),
     _active_condition(0),
     _diameter(n->getNode("diameter-input", false)),
-    _bullet_size(_w / 3.0),
-    _inner_radius(_w)
+    _bullet_size(_w / 6.0),
+    _inner_radius(_w / 2.0)
 {
     const SGPropertyNode *node = n->getNode("active-condition");
     if (node)