projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bc6636
)
Don't remove badguys, just because they are out of the screen borders.
author
Ricardo Cruz
<rick2@aeiou.pt>
Sat, 22 May 2004 18:42:40 +0000
(18:42 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Sat, 22 May 2004 18:42:40 +0000
(18:42 +0000)
SVN-Revision: 1299
src/badguy.cpp
patch
|
blob
|
history
diff --git
a/src/badguy.cpp
b/src/badguy.cpp
index
2e9f0f9
..
0bd1337
100644
(file)
--- a/
src/badguy.cpp
+++ b/
src/badguy.cpp
@@
-758,13
+758,6
@@
BadGuy::action(float elapsed_time)
float scroll_y = World::current()->displaymanager
.get_viewport().get_translation().y;
- // Remove if it's far off the screen:
- if (base.x < scroll_x - X_OFFSCREEN_DISTANCE)
- {
- remove_me();
- return;
- }
-
// BadGuy fall below the ground
if (base.y > World::current()->get_level()->height * 32) {
remove_me();