projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4df505d
)
Matze made eggs not to be removed at all during a level saying that they shouldn...
author
Ricardo Cruz
<rick2@aeiou.pt>
Tue, 27 Apr 2004 21:00:58 +0000
(21:00 +0000)
committer
Ricardo 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
patch
|
blob
|
history
diff --git
a/src/special.cpp
b/src/special.cpp
index
064ab63
..
71a2e5e
100644
(file)
--- 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();