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>2010-11-13 21:44:04 +0000
committerStijn Buys <ingar@osirion.org>2010-11-13 21:44:04 +0000
commitc86b4142ff8adc8fc14f58d603b116dfd8ea6515 (patch)
tree21076e7db33a4532949337f153e9c38c85c2c62a /src/game/base/navpoint.cc
parentb68389e450d537eed51683515d1c4d6f7450caf2 (diff)
added jumppoint and jumpgate templates, corrected a number of potentional
radius related bugs
Diffstat (limited to 'src/game/base/navpoint.cc')
-rw-r--r--src/game/base/navpoint.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/game/base/navpoint.cc b/src/game/base/navpoint.cc
index f7d6046..ccfb3d8 100644
--- a/src/game/base/navpoint.cc
+++ b/src/game/base/navpoint.cc
@@ -14,18 +14,14 @@ const Template *NavPoint::navpoint_template = 0;
NavPoint::NavPoint() : core::Entity()
{
- set_shape(core::Entity::Diamond);
- get_color().assign(1.0f, 1.0f);
- get_color_second().assign(0.6f, 1.0f);
- set_radius(0.25f);
-
entity_moduletypeid = navpoint_enttype;
+ set_shape(core::Entity::Diamond);
+ set_radius(0.25);
// use template settings if available
if (navpoint_template) {
navpoint_template->apply(this);
}
-
}
NavPoint::~NavPoint()