projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6358585
)
Disable gravity when on flying platform.
author
Ricardo Cruz
<rick2@aeiou.pt>
Tue, 25 May 2004 15:32:45 +0000
(15:32 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Tue, 25 May 2004 15:32:45 +0000
(15:32 +0000)
SVN-Revision: 1326
src/player.cpp
patch
|
blob
|
history
diff --git
a/src/player.cpp
b/src/player.cpp
index
18539a4
..
88b6761
100644
(file)
--- a/
src/player.cpp
+++ b/
src/player.cpp
@@
-822,6
+822,7
@@
Player::collision(void* p_c_object, int c_object)
pplatform_c = (FlyingPlatform*) p_c_object;
base.y = pplatform_c->base.y - base.height;
+ physic.enable_gravity(false);
break;
default: