X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fspawn_point.cpp;h=8cfd13a8c5a566d5df584e9db967fd4ca49dc571;hb=ba5f95533903ed6190b0fddede258c86540afffa;hp=7ed3a15aa469fb6a3b83ba6dc779946ed8c93096;hpb=67690e081c28b818e94796be284206326bc8a6b9;p=supertux.git diff --git a/src/spawn_point.cpp b/src/spawn_point.cpp index 7ed3a15aa..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,7 +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" << std::endl; + log_warning << "unknown token '" << token << "' in SpawnPoint" << std::endl; } }