projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fe61b9
)
Skully jumps again.
author
Wolfgang Becker
<uafr@gmx.de>
Wed, 12 Jul 2006 15:59:55 +0000
(15:59 +0000)
committer
Wolfgang Becker
<uafr@gmx.de>
Wed, 12 Jul 2006 15:59:55 +0000
(15:59 +0000)
SVN-Revision: 3990
src/badguy/skullyhop.cpp
patch
|
blob
|
history
diff --git
a/src/badguy/skullyhop.cpp
b/src/badguy/skullyhop.cpp
index
d9b954e
..
302ac9a
100644
(file)
--- a/
src/badguy/skullyhop.cpp
+++ b/
src/badguy/skullyhop.cpp
@@
-95,7
+95,7
@@
SkullyHop::collision_solid(const CollisionHit& hit)
return;
// check if we hit the floor while falling
- if(hit.bottom) {
+ if(hit.bottom
&& physic.get_velocity_y() > 0
) {
set_state(STANDING);
}
// check if we hit the roof while climbing