projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a11a8f6
)
Corrected a laptop behaviour, regarding kicking
author
Ricardo Cruz
<rick2@aeiou.pt>
Fri, 19 Mar 2004 13:59:29 +0000
(13:59 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Fri, 19 Mar 2004 13:59:29 +0000
(13:59 +0000)
SVN-Revision: 262
src/player.cpp
patch
|
blob
|
history
diff --git
a/src/player.cpp
b/src/player.cpp
index
1f876f3
..
3d5e057
100644
(file)
--- a/
src/player.cpp
+++ b/
src/player.cpp
@@
-857,7
+857,7
@@
void player_collision(player_type* pplayer, void* p_c_object, int c_object)
pbad_c->mode = KICK;
play_sound(sounds[SND_KICK], SOUND_CENTER_SPEAKER);
- if (pplayer->base.x
<= pbad_c->base.x
)
+ if (pplayer->base.x
< pbad_c->base.x + (pbad_c->base.width/2)
)
{
pbad_c->dir = RIGHT;
pbad_c->base.x = pbad_c->base.x + 16;