diff options
author | Stijn Buys <ingar@osirion.org> | 2009-11-15 15:35:59 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-11-15 15:35:59 +0000 |
commit | 7888930bf0a75999e103f7781c095e04b6860ee5 (patch) | |
tree | 5e42e818366181590fedc15e06548b1e463265e7 /src/game/base/navpoint.cc | |
parent | 89c0bc88bd4ebdc44dfb99235609c90e968af533 (diff) |
added entity request network message
Diffstat (limited to 'src/game/base/navpoint.cc')
-rw-r--r-- | src/game/base/navpoint.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/game/base/navpoint.cc b/src/game/base/navpoint.cc index 78f1ae0..7d0d75c 100644 --- a/src/game/base/navpoint.cc +++ b/src/game/base/navpoint.cc @@ -10,14 +10,16 @@ namespace game { -NavPoint::NavPoint() : core::Entity(core::Entity::Static | core::Entity::Bright) +NavPoint::NavPoint() : core::Entity() { - //set_flag(core::Entity::ShowOnMap); entity_shape = core::Entity::Diamond; get_color().assign(1.0f, 1.0f); get_color_second().assign(0.6f, 1.0f); set_radius(0.25f); - + set_flag(core::Entity::Static); + set_flag(core::Entity::Bright); + //set_flag(core::Entity::ShowOnMap); + entity_moduletypeid = navpoint_enttype; } |