Slight modifications for compatibility

This commit is contained in:
alexander.pickering 2014-09-20 15:51:14 -04:00
parent 2d05879905
commit 1c175574fa
2 changed files with 0 additions and 3 deletions

View File

@ -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;

View File

@ -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("<not set>");
inventory.clear();