projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a4882b
)
Remove walk key
author
Mathnerd314
<man.is.allan@gmail.com>
Thu, 4 Mar 2010 02:37:48 +0000
(
02:37
+0000)
committer
Mathnerd314
<man.is.allan@gmail.com>
Thu, 4 Mar 2010 02:37:48 +0000
(
02:37
+0000)
SVN-Revision: 6536
src/object/player.cpp
patch
|
blob
|
history
diff --git
a/src/object/player.cpp
b/src/object/player.cpp
index
2ffa8ec
..
bbf2fb8
100644
(file)
--- a/
src/object/player.cpp
+++ b/
src/object/player.cpp
@@
-467,9
+467,8
@@
Player::handle_horizontal_input()
}
}
- // do not run if action key is pressed or we're holding something
- // so tux can only walk while shooting
- if ( controller->hold(Controller::ACTION) || grabbed_object ) {
+ // do not run if we're holding something
+ if ( grabbed_object ) {
ax = dirsign * WALK_ACCELERATION_X;
// limit speed
if(vx >= MAX_WALK_XM && dirsign > 0) {