Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2014-12-25 21:53:49 +0000
committerStijn Buys <ingar@osirion.org>2014-12-25 21:53:49 +0000
commit12834c9dc3c119dc3cf45ba141d9a90fb4f95075 (patch)
tree6077d5f17dbd0d49a84c714df562008aad884562 /src/core/info.cc
parent8f393ff70e60172c632efc81694433568df2862b (diff)
Corrected a number of imperfections in Entity::print(), EntityDynamic::print() and Info::print().
Diffstat (limited to 'src/core/info.cc')
-rw-r--r--src/core/info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/info.cc b/src/core/info.cc
index 3d1b6cc..0f48eab 100644
--- a/src/core/info.cc
+++ b/src/core/info.cc
@@ -253,7 +253,7 @@ void Info::receive_server_update(std::istream &is)
void Info::print() const
{
- con_print << " id: ^B" << std::setw(4) << std::setfill(' ') << id() << " type: ^B" << (type() ? type()->label() : "NULL") << " ^Nlabel: ^B" << label() << " ^Nname: ^B" << name() << " ^Nmodel: ^B" << modelname() << "^N" << std::endl;
+ con_print << " ^Ninfo id ^B" << std::setw(4) << std::setfill(' ') << id() << " ^Ntype ^B" << (type() ? type()->label() : "NULL") << " ^Nlabel ^B" << label() << " ^Nname ^B" << name() << " ^Nmodel ^B" << modelname() << "^N" << std::endl;
if (info_text.size()) {
for (Text::const_iterator it = info_text.begin(); it != info_text.end(); it++) {
con_print << " " << (*it) << std::endl;