1
0
Fork 0

reticle should fit into bounding box (don't take diameter as radius)

This commit is contained in:
mfranz 2006-07-22 17:27:43 +00:00
parent f620af29cd
commit 4ce94a0ec4

View file

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