projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of https://code.google.com/p/supertux
[supertux.git]
/
src
/
object
/
oneup.cpp
diff --git
a/src/object/oneup.cpp
b/src/object/oneup.cpp
index
cea25b0
..
281aca7
100644
(file)
--- a/
src/object/oneup.cpp
+++ b/
src/object/oneup.cpp
@@
-23,6
+23,8
@@
OneUp::OneUp(const Vector& pos, Direction direction) :
physic()
{
physic.set_velocity((direction == LEFT)?-100:100, -400);
+ if(direction == DOWN) // this causes the doll to drop when opened with a butt-jump
+ physic.set_velocity(0, -100);
}
void