From: Tobias Markus Date: Mon, 16 Dec 2013 00:22:34 +0000 (+0100) Subject: Using filename instead of author and level name X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=3497f1b5834627a6e1aec925410d7dfed470582c;p=supertux.git Using filename instead of author and level name --- diff --git a/src/badguy/badguy.cpp b/src/badguy/badguy.cpp index 6f337cb3a..68187b67e 100644 --- a/src/badguy/badguy.cpp +++ b/src/badguy/badguy.cpp @@ -147,7 +147,7 @@ BadGuy::update(float elapsed_time) int path_chars = badguy.rfind("/",badguy.length()); badguy = badguy.substr(path_chars + 1, badguy.length() - path_chars); // log warning since badguys_killed can no longer reach total_badguys - std::string current_level = "[" + Sector::current()->get_level()->author + " - " + Sector::current()->get_level()->name + "] "; + std::string current_level = "[" + Sector::current()->get_level()->filename + "] "; log_warning << current_level << "Counted badguy " << badguy << " starting at " << start_position << " has left the sector" <