From: Matthias Braun Date: Sun, 13 Aug 2006 13:09:32 +0000 (+0000) Subject: fix from Tron so player doesn't get hurt by eggs X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=38f0ccbd01a1e73b7c587e241a7bc0c8443e8fe6;p=supertux.git fix from Tron so player doesn't get hurt by eggs SVN-Revision: 4175 --- diff --git a/src/object/player.cpp b/src/object/player.cpp index 5128efa2d..df2ca0190 100644 --- a/src/object/player.cpp +++ b/src/object/player.cpp @@ -202,7 +202,7 @@ Player::adjust_height(float new_height) if(new_height > bbox.get_height()) { Rect additional_space = bbox2; additional_space.set_height(new_height - bbox.get_height()); - if(!Sector::current()->is_free_of_movingstatics(additional_space, this)) + if(!Sector::current()->is_free_of_statics(additional_space, this)) return false; }