projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61f3da3
)
Fixed bug that was causing player's dead.
author
Ricardo Cruz
<rick2@aeiou.pt>
Sat, 8 May 2004 00:04:00 +0000
(
00:04
+0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Sat, 8 May 2004 00:04:00 +0000
(
00:04
+0000)
Don't think it is totally solved
SVN-Revision: 1036
src/player.cpp
patch
|
blob
|
history
diff --git
a/src/player.cpp
b/src/player.cpp
index
179b533
..
d447def
100644
(file)
--- a/
src/player.cpp
+++ b/
src/player.cpp
@@
-758,7
+758,7
@@
Player::check_bounds()
base.x = scroll_x;
if(base.x == scroll_x)
- if(issolid(base.x, base.y) ||
issolid(base.x, base.y+32
))
+ if(issolid(base.x, base.y) ||
(size != SMALL && issolid(base.x, base.y+32)
))
kill(KILL);
if(base.x + base.width > scroll_x + screen->w)