From 1c175574fad7bbd30e2883ce313040fc65903b2e Mon Sep 17 00:00:00 2001 From: "alexander.pickering" Date: Sat, 20 Sep 2014 15:51:14 -0400 Subject: [PATCH] Slight modifications for compatibility --- src/localplayer.cpp | 2 -- src/player.cpp | 1 - 2 files changed, 3 deletions(-) diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 829b65fb2..03716123d 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -326,7 +326,6 @@ void LocalPlayer::move(f32 dtime, Environment *env, f32 pos_max_d, touching_ground = false; MtEvent *e = new SimpleTriggerEvent("PlayerJump"); m_gamedef->event()->put(e); - cout << "Jumped because " << m_jumptime << " is less than " << env->getTimeOfDay() << "\n"; } if(!touching_ground_was && touching_ground){ @@ -558,7 +557,6 @@ void LocalPlayer::applyControl(float dtime) speedV.Y = movement_speed_climb; } } - // The speed of the player (Y is ignored) if(superspeed || (is_climbing && fast_climb) || ((in_liquid || in_liquid_stable) && fast_climb)) speedH = speedH.normalize() * movement_speed_fast; diff --git a/src/player.cpp b/src/player.cpp index 0f3037949..f6dc74347 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -53,7 +53,6 @@ Player::Player(IGameDef *gamedef): m_last_pos(0,0,0), m_last_hp(PLAYER_MAX_HP), m_last_inventory(gamedef->idef()) - m_jumping_dir(0,0,0); { updateName(""); inventory.clear();