diff options
Diffstat (limited to 'src/game/base/jumppoint.cc')
-rw-r--r-- | src/game/base/jumppoint.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/game/base/jumppoint.cc b/src/game/base/jumppoint.cc index 9ef18d9..ae66262 100644 --- a/src/game/base/jumppoint.cc +++ b/src/game/base/jumppoint.cc @@ -20,6 +20,8 @@ JumpPoint::JumpPoint() : core::EntityDynamic() set_radius(0.25f); set_flag(core::Entity::Static); set_flag(core::Entity::Bright); + // FIXME jumppoints should be harder to find + set_flag(core::Entity::ShowOnMap); entity_moduletypeid = jumppoint_enttype; jumppoint_target = 0; @@ -60,17 +62,18 @@ void JumpPoint::validate() core::Entity *targetentity = targetzone->find_entity(entitylabel); if (!targetentity) { - con_warn << " Could not find target jumppoint '" << entitylabel << "'\n"; + con_warn << " Could not find target jumppoint '" << entitylabel << "' in zone '" << zonelabel << "'\n"; return; } if ((targetentity->moduletype() != jumppoint_enttype) && (targetentity->moduletype() != jumpgate_enttype)) { - con_warn << " Jumppoint with invalid target jumppoint '" << entitylabel << "'\n"; + con_warn << " Jumppoint with invalid target jumppoint '" << entitylabel << "' in zone '" << zonelabel << "'\n"; return; } jumppoint_target = static_cast<JumpPoint *>(targetentity); + con_debug << " jumppoint to " << targetzone->label() << std::endl; //con_debug << " Jumppoint " << zone->label() << ":" << label() << " with target " << targetlabel() << std::endl; } |