diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-09-01 13:21:52 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-09-01 13:21:52 +0300 |
commit | c129b3852b97b7bd7ea7fe904af68243ad44a333 (patch) | |
tree | d7bd69172762f730d3c8d320355e7a8380e04db7 /src/localplayer.cpp | |
parent | 3b43c69df4ce7d68aebb4bd02aaa4aca18b9afad (diff) | |
download | minetest-c129b3852b97b7bd7ea7fe904af68243ad44a333.tar.gz minetest-c129b3852b97b7bd7ea7fe904af68243ad44a333.tar.bz2 minetest-c129b3852b97b7bd7ea7fe904af68243ad44a333.zip |
Fix the bouncy node related stuff a bit
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 15b6fd15d..46a10c90b 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -486,9 +486,8 @@ void LocalPlayer::applyControl(float dtime) v3f speed = getSpeed(); if(speed.Y >= -0.5*BS) { - speed.Y += 6.5*BS; + speed.Y = 6.5*BS; setSpeed(speed); - m_can_jump = false; MtEvent *e = new SimpleTriggerEvent("PlayerJump"); m_gamedef->event()->put(e); |