Matze made eggs not to be removed at all during a level saying that they shouldn...
authorRicardo Cruz <rick2@aeiou.pt>
Tue, 27 Apr 2004 21:00:58 +0000 (21:00 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Tue, 27 Apr 2004 21:00:58 +0000 (21:00 +0000)
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

index 064ab63..71a2e5e 100644 (file)
@@ -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();