mirror of https://github.com/minetest/minetest.git
Slight modifications for compatibility
This commit is contained in:
parent
2d05879905
commit
1c175574fa
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue