From 12834c9dc3c119dc3cf45ba141d9a90fb4f95075 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 25 Dec 2014 21:53:49 +0000 Subject: Corrected a number of imperfections in Entity::print(), EntityDynamic::print() and Info::print(). --- src/core/info.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/info.cc') 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; -- cgit v1.2.3