projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3e35db
)
Updated monodev's project files.
author
Wolfgang Becker
<uafr@gmx.de>
Tue, 16 May 2006 16:26:12 +0000
(16:26 +0000)
committer
Wolfgang Becker
<uafr@gmx.de>
Tue, 16 May 2006 16:26:12 +0000
(16:26 +0000)
SVN-Revision: 3539
src/object/player.cpp
patch
|
blob
|
history
diff --git
a/src/object/player.cpp
b/src/object/player.cpp
index
f9efddf
..
a7643b7
100644
(file)
--- a/
src/object/player.cpp
+++ b/
src/object/player.cpp
@@
-201,6
+201,10
@@
Player::update(float elapsed_time)
bbox.get_height()*0.66666 - 32);
grabbed_object->grab(*this, pos, dir);
}
+
+ if(grabbed_object != 0 && dying){
+ grabbed_object->ungrab(*this, dir);
+ }
on_ground_flag = false;
}