Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3744/src
Modified Files:
special.cpp
Log Message:
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.
Index: special.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/special.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- special.cpp 27 Apr 2004 17:09:35 -0000 1.34
+++ special.cpp 27 Apr 2004 21:00:58 -0000 1.35
@@ -193,13 +193,10 @@
}
}
- /* 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();
|