projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4470a62
)
Upgrades weren't being shown when appearing... fixed!
author
Ricardo Cruz
<rick2@aeiou.pt>
Tue, 11 May 2004 23:09:33 +0000
(23:09 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Tue, 11 May 2004 23:09:33 +0000
(23:09 +0000)
SVN-Revision: 1115
src/special.cpp
patch
|
blob
|
history
diff --git
a/src/special.cpp
b/src/special.cpp
index
64fc9d8
..
9b04c05
100644
(file)
--- a/
src/special.cpp
+++ b/
src/special.cpp
@@
-252,8
+252,8
@@
Upgrade::draw()
{
/* Rising up... */
- dest.x = (int)(base.x);
- dest.y = (int)(base.y + 32 - base.height);
+ dest.x = (int)(base.x
- scroll_x
);
+ dest.y = (int)(base.y
- scroll_y
+ 32 - base.height);
dest.w = 32;
dest.h = (int)base.height;