X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fpath.cpp;h=5f7cc094767159832ce7c79fea12040a83088dea;hb=2bfc38ef3208dee885452cfa59a7c7df671eb24d;hp=8d2b9f93c924e7c951500c7d61de45c34c8a9bc6;hpb=20e8b8fc6cebb32a3b6076be82f54e4d4942c7e3;p=supertux.git diff --git a/src/object/path.cpp b/src/object/path.cpp index 8d2b9f93c..5f7cc0947 100644 --- a/src/object/path.cpp +++ b/src/object/path.cpp @@ -1,5 +1,5 @@ // $Id$ -// +// // SuperTux Path // Copyright (C) 2005 Philipp // Copyright (C) 2006 Christoph Sommer @@ -14,7 +14,7 @@ // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. -// +// // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA @@ -26,7 +26,7 @@ #include "lisp/lisp.hpp" #include "lisp/list_iterator.hpp" #include "object_factory.hpp" -#include "msg.hpp" +#include "log.hpp" #include #include @@ -68,7 +68,7 @@ Path::read(const lisp::Lisp& reader) } if(iter.item() != "node") { - msg_warning("unknown token '" << iter.item() << "' in Path nodes list. Ignored."); + log_warning << "unknown token '" << iter.item() << "' in Path nodes list. Ignored." << std::endl; continue; } const lisp::Lisp* node_lisp = iter.lisp(); @@ -107,7 +107,7 @@ Path::write(lisp::Writer& writer) writer.write_string("mode", "circular"); break; default: - msg_warning("Don't know how to write mode " << (int) mode << " ?!?"); + log_warning << "Don't know how to write mode " << (int) mode << " ?!?" << std::endl; break; }