From b9a95f9ce5940051dec5dd5bfb936ee7e0bd4565 Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Mon, 15 Jul 2013 18:23:32 -1000 Subject: [PATCH] Unified some [DEBUG] log calls, bug 994. --- data/levels/world1/underground.nut | 3 +-- src/object/player.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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) { -- 2.11.0