projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a542de
)
this time 1-hole problems are fixed for real
author
Matthias Braun
<matze@braunis.de>
Thu, 25 Nov 2004 20:18:16 +0000
(20:18 +0000)
committer
Matthias Braun
<matze@braunis.de>
Thu, 25 Nov 2004 20:18:16 +0000
(20:18 +0000)
SVN-Revision: 2199
src/player.cpp
patch
|
blob
|
history
diff --git
a/src/player.cpp
b/src/player.cpp
index
5e3c3ef
..
2350f95
100644
(file)
--- a/
src/player.cpp
+++ b/
src/player.cpp
@@
-390,7
+390,7
@@
Player::handle_horizontal_input()
// extend/shrink tux collision rectangle so that we fall through/walk over 1
// tile holes
- if(
vx
> MAX_WALK_XM) {
+ if(
fabsf(vx)
> MAX_WALK_XM) {
bbox.set_width(33);
} else {
bbox.set_width(31.8);