From 38f0ccbd01a1e73b7c587e241a7bc0c8443e8fe6 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Sun, 13 Aug 2006 13:09:32 +0000 Subject: [PATCH] fix from Tron so player doesn't get hurt by eggs SVN-Revision: 4175 --- src/object/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.11.0