X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fspawn_point.cpp;h=8cfd13a8c5a566d5df584e9db967fd4ca49dc571;hb=07ddaed2a657e4d2a3d038fed223fc5827159caf;hp=b0c9b6487cb61336fb902765c6493145a9b4ec72;hpb=0f0e6a3689e5d810ec55b68ff455210b1081a021;p=supertux.git diff --git a/src/spawn_point.cpp b/src/spawn_point.cpp index b0c9b6487..8cfd13a8c 100644 --- a/src/spawn_point.cpp +++ b/src/spawn_point.cpp @@ -1,3 +1,22 @@ +// $Id$ +// +// SuperTux +// Copyright (C) 2006 Matthias Braun +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// as published by the Free Software Foundation; either version 2 +// of the License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// 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 02111-1307, USA. + #include #include @@ -5,7 +24,7 @@ #include "spawn_point.hpp" #include "lisp/lisp.hpp" #include "lisp/list_iterator.hpp" -#include "msg.hpp" +#include "log.hpp" SpawnPoint::SpawnPoint() {} @@ -28,8 +47,7 @@ SpawnPoint::SpawnPoint(const lisp::Lisp* slisp) } else if(token == "y") { iter.value()->get(pos.y); } else { - msg_warning("unknown token '" << token - << "' in SpawnPoint"); + log_warning << "unknown token '" << token << "' in SpawnPoint" << std::endl; } }