Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/zone.cc')
-rw-r--r--src/core/zone.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/core/zone.cc b/src/core/zone.cc
index 49b20d5..ab38b1b 100644
--- a/src/core/zone.cc
+++ b/src/core/zone.cc
@@ -135,14 +135,11 @@ Zone::~Zone()
void Zone::print()
{
- con_print << "id: ^B" << id() << " ^Nlabel: ^B" << label() << " ^Nname: ^B" << name() << std::endl;
+ con_print << "id ^B" << id() << " ^Nlabel ^B" << label() << " ^Nname ^B" << name() << std::endl;
+ Entity::list_header();
for (Content::iterator it = zone_content.begin(); it != zone_content.end(); it++) {
Entity *entity = (*it);
- con_print << " id " << std::setw(4) << entity->id()
- << " type " << std::setw(4) << entity->type()
- << ":" << std::setw(4) << entity->moduletype()
- << " " << std::setw(24) << entity->label()
- << " ^B" << entity->name() << "^N" << std::endl;
+ Entity::list(entity);
}
con_print << zone_content.size() << " registered zone entities" << std::endl;
}