From: Wolfgang Becker Date: Tue, 16 May 2006 16:26:12 +0000 (+0000) Subject: Updated monodev's project files. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4378796209c0979eb096ece16425d29464d8669a;p=supertux.git Updated monodev's project files. SVN-Revision: 3539 --- diff --git a/src/object/player.cpp b/src/object/player.cpp index f9efddf07..a7643b79d 100644 --- 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; }