Unified some [DEBUG] log calls, bug 994.
authorTobias Markus <tobbi@mozilla-uk.org>
Tue, 16 Jul 2013 04:23:32 +0000 (18:23 -1000)
committerLMH <lmh.0013@gmail.com>
Tue, 16 Jul 2013 04:23:32 +0000 (18:23 -1000)
data/levels/world1/underground.nut
src/object/player.cpp

index c64edd3..c6715bf 100644 (file)
@@ -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");
index b5bd77d..427c653 100644 (file)
@@ -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) {