From d480b3548881298e8c96f37ef2c95c95a4c1a46d Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Tue, 27 Apr 2004 21:00:58 +0000 Subject: [PATCH] Matze made eggs not to be removed at all during a level saying that they shouldn't be destroyed when off the screen. The fact is that OFFSCREEN_DISTANCE is already pretty generous, but if you don't think so, just increase it. SVN-Revision: 794 --- src/special.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/special.cpp b/src/special.cpp index 064ab6341..71a2e5e8a 100644 --- a/src/special.cpp +++ b/src/special.cpp @@ -193,13 +193,10 @@ Upgrade::action(double frame_ratio) } } - /* Off screen? Kill it! */ + /* Away from the screen? Kill it! */ if(base.x < scroll_x - OFFSCREEN_DISTANCE) { - // we don't remove growups for now, when off screen - if(kind != UPGRADE_GROWUP) { remove_me(); return; - } } if(base.y > screen->h) { remove_me(); -- 2.11.0