projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a7f7d0
)
There is no point in making a Y inferior to scroll_y checking, since bullets accel...
author
Ricardo Cruz
<rick2@aeiou.pt>
Tue, 10 Aug 2004 11:43:57 +0000
(11:43 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Tue, 10 Aug 2004 11:43:57 +0000
(11:43 +0000)
Fixes bug reported by unDEFER in the mailing list.
SVN-Revision: 1731
src/special.cpp
patch
|
blob
|
history
diff --git
a/src/special.cpp
b/src/special.cpp
index
0b37359
..
6d062c1
100644
(file)
--- a/
src/special.cpp
+++ b/
src/special.cpp
@@
-104,7
+104,7
@@
Bullet::action(float elapsed_time)
Sector::current()->camera->get_translation().y;
if (base.x < scroll_x ||
base.x > scroll_x + screen->w ||
- base.y < scroll_y ||
+
//
base.y < scroll_y ||
base.y > scroll_y + screen->h ||
life_count <= 0)
{