Skip to content

Commit 44edb65

Browse files
SemphrissSemphris
andauthored
Reset bumper velocity on climb (#2185)
Co-authored-by: Semphris <[email protected]>
1 parent 94d0664 commit 44edb65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/object/player.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2248,6 +2248,7 @@ Player::start_climbing(Climbable& climbable)
22482248

22492249
m_climbing = &climbable;
22502250
m_sprite->set_angle(0.0f);
2251+
m_boost = 0.f;
22512252
m_physic.enable_gravity(false);
22522253
m_physic.set_velocity(0, 0);
22532254
m_physic.set_acceleration(0, 0);

0 commit comments

Comments
 (0)