mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix the bouncy node related stuff a bit
This commit is contained in:
parent
3b43c69df4
commit
c129b3852b
2 changed files with 11 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue