projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbecaf7
)
Expanded sleeping Spiky's wakeup range
author
Christoph Sommer
<mail@christoph-sommer.de>
Thu, 6 Jul 2006 13:57:57 +0000
(13:57 +0000)
committer
Christoph Sommer
<mail@christoph-sommer.de>
Thu, 6 Jul 2006 13:57:57 +0000
(13:57 +0000)
SVN-Revision: 3916
src/badguy/sspiky.cpp
patch
|
blob
|
history
diff --git
a/src/badguy/sspiky.cpp
b/src/badguy/sspiky.cpp
index
3379c0b
..
3827ae2
100644
(file)
--- a/
src/badguy/sspiky.cpp
+++ b/
src/badguy/sspiky.cpp
@@
-91,8
+91,8
@@
SSpiky::active_update(float elapsed_time) {
bool inReach_left = (pb.p2.x >= mb.p2.x-((dir == LEFT) ? 256 : 0));
bool inReach_right = (pb.p1.x <= mb.p1.x+((dir == RIGHT) ? 256 : 0));
- bool inReach_top = (pb.p2.y >= mb.p
2
.y);
- bool inReach_bottom = (pb.p1.y <= mb.p
1
.y);
+ bool inReach_top = (pb.p2.y >= mb.p
1
.y);
+ bool inReach_bottom = (pb.p1.y <= mb.p
2
.y);
if (inReach_left && inReach_right && inReach_top && inReach_bottom) {
// wake up