diff options
author | Stijn Buys <ingar@osirion.org> | 2010-10-03 19:57:17 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-10-03 19:57:17 +0000 |
commit | 75906b43ecb9a04fdab365bd8b1a00fbdbc66918 (patch) | |
tree | 1a065487f09c694d93612b4f99489b878b0f8a95 /src/game/base/jumppoint.cc | |
parent | 25af16fac3127523d532d4b4797eec7947ed5a72 (diff) |
ui updates, removed impulse and jumpgte g_devel conditions, jumpdrive crash bugfix
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; } |