projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08c752b
)
Fixed hotspot square drawing in debug mode.
author
Ricardo Cruz
<rick2@aeiou.pt>
Tue, 11 May 2004 23:15:45 +0000
(23:15 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Tue, 11 May 2004 23:15:45 +0000
(23:15 +0000)
SVN-Revision: 1117
src/badguy.cpp
patch
|
blob
|
history
src/player.cpp
patch
|
blob
|
history
diff --git
a/src/badguy.cpp
b/src/badguy.cpp
index
78927ee
..
ab515b5
100644
(file)
--- a/
src/badguy.cpp
+++ b/
src/badguy.cpp
@@
-749,7
+749,7
@@
BadGuy::draw()
sprite->draw(base.x, base.y);
if (debug_mode)
- fillrect(base.x
, base.
y, base.width, base.height, 75,0,75, 150);
+ fillrect(base.x
- scroll_x, base.y - scroll_
y, base.width, base.height, 75,0,75, 150);
}
void
diff --git
a/src/player.cpp
b/src/player.cpp
index
2966672
..
ac5018f
100644
(file)
--- a/
src/player.cpp
+++ b/
src/player.cpp
@@
-632,7
+632,7
@@
Player::draw()
}
if (debug_mode)
- fillrect(base.x
, base.
y,
+ fillrect(base.x
- scroll_x, base.y - scroll_
y,
base.width, base.height, 75,75,75, 150);
}