X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fplayer.cpp;h=7dd80849e27b5d5a54f277a2ca5ab9b1d76ee83c;hb=875ef8eb7e93726bc67dfa7f05da946250e588d4;hp=cba8829b3c889a0b4339c6d76764c4dab568f7e2;hpb=4ada19ad88b175b612e8f09d6426eb940a7d947f;p=supertux.git diff --git a/src/player.cpp b/src/player.cpp index cba8829b3..7dd80849e 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -870,8 +870,7 @@ Player::collision(GameObject& other, const CollisionHit& hit) physic.set_velocity_y(.1); } - if(fabsf(hit.normal.x) > .5) { // hit on the side? - printf("s"); fflush(stdout); + if(fabsf(hit.normal.x) > .9) { // hit on the side? physic.set_velocity_x(0); }