projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ffef1d
)
Changed back the sliding fix because it was buggy
author
Marek Moeckel
<wansti@gmx.de>
Tue, 18 May 2004 18:04:53 +0000
(18:04 +0000)
committer
Marek Moeckel
<wansti@gmx.de>
Tue, 18 May 2004 18:04:53 +0000
(18:04 +0000)
SVN-Revision: 1258
src/player.cpp
patch
|
blob
|
history
diff --git
a/src/player.cpp
b/src/player.cpp
index
12b6c9d
..
2b6cfd6
100644
(file)
--- a/
src/player.cpp
+++ b/
src/player.cpp
@@
-203,7
+203,7
@@
Player::action(double frame_ratio)
if(!duck && on_ground() && old_base.x == base.x && old_base.y == base.y
&& collision_object_map(base))
{
- base.x += frame_ratio * WALK_SPEED;
+ base.x += frame_ratio * WALK_SPEED
* (dir ? 1: -1)
;
previous_base = old_base = base;
}