diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/base/jumppoint.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/game/base/jumppoint.cc b/src/game/base/jumppoint.cc index d173aee..7f23fd9 100644 --- a/src/game/base/jumppoint.cc +++ b/src/game/base/jumppoint.cc @@ -100,10 +100,11 @@ void JumpPoint::validate() entity_info = new core::Info(core::Entity::infotype(), labelstr.c_str()); set_info(entity_info); } + entity_info->set_name("Jumppoint"); + entity_info->clear_text(); entity_info->add_text("Jumppoint to the " + target()->zone()->name()); - - + con_debug << " " << label() << " jumppoint to " << target()->zone()->label() << ":" << target()->label() << std::endl; } @@ -146,8 +147,8 @@ void JumpGate::validate() set_name(name); core::Info *entity_info = core::Info::find(info()); + entity_info->set_name("Jumpgate"); entity_info->clear_text(); - // FIXME if 'system' was erased from the name, 'the' should not appear in the info text // e.g. Jumpgate to Kor Telos entity_info->add_text("Jumpgate to the " + target()->zone()->name()); |