From: Tobias Markus Date: Tue, 16 Jul 2013 04:23:32 +0000 (-1000) Subject: Unified some [DEBUG] log calls, bug 994. X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=b9a95f9ce5940051dec5dd5bfb936ee7e0bd4565;p=supertux.git Unified some [DEBUG] log calls, bug 994. --- diff --git a/data/levels/world1/underground.nut b/data/levels/world1/underground.nut index c64edd393..c6715bfc0 100644 --- a/data/levels/world1/underground.nut +++ b/data/levels/world1/underground.nut @@ -1,6 +1,6 @@ if(! ("underground" in state)){ state.underground <- false; - print("underground state initialized\n"); + print("[DEBUG] Underground state initialized\n"); } function go_underground(under){ @@ -16,4 +16,3 @@ function go_underground(under){ } go_underground(state.underground); -print("worldmap set\n"); diff --git a/src/object/player.cpp b/src/object/player.cpp index b5bd77d3f..427c6532b 100644 --- a/src/object/player.cpp +++ b/src/object/player.cpp @@ -974,7 +974,7 @@ Player::set_bonus(BonusType type, bool animate) { if((player_status->bonus == NO_BONUS) && (type != NO_BONUS)) { if (!adjust_height(BIG_TUX_HEIGHT)) { - printf("can't adjust\n"); + log_debug << "Can't adjust Tux height" << std::endl; return false; } if(animate) {