diff options
Diffstat (limited to 'src/components/player_physics.cpp')
| -rw-r--r-- | src/components/player_physics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/components/player_physics.cpp b/src/components/player_physics.cpp index 1be43b6..e366d6e 100644 --- a/src/components/player_physics.cpp +++ b/src/components/player_physics.cpp | |||
| @@ -38,14 +38,14 @@ void PlayerPhysicsComponent::receive(Game&, Entity& entity, const Message& msg) | |||
| 38 | { | 38 | { |
| 39 | if (isFalling) | 39 | if (isFalling) |
| 40 | { | 40 | { |
| 41 | playSound("../res/Randomize27.wav", 0.05); | 41 | playSound("res/Randomize27.wav", 0.05); |
| 42 | isFalling = false; | 42 | isFalling = false; |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | velocity.second = 0.0; | 45 | velocity.second = 0.0; |
| 46 | } else if (msg.type == Message::Type::jump) | 46 | } else if (msg.type == Message::Type::jump) |
| 47 | { | 47 | { |
| 48 | playSound("../res/Randomize87.wav", 0.25); | 48 | playSound("res/Randomize87.wav", 0.25); |
| 49 | 49 | ||
| 50 | velocity.second = jump_velocity; | 50 | velocity.second = jump_velocity; |
| 51 | accel.second = jump_gravity; | 51 | accel.second = jump_gravity; |
