[Super-tux-commit] supertux/src special.cpp,1.40,1.41
Brought to you by:
wkendrick
From: Ricardo C. <rm...@us...> - 2004-05-11 23:09:45
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1050/src Modified Files: special.cpp Log Message: Upgrades weren't being shown when appearing... fixed! Index: special.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/special.cpp,v retrieving revision 1.40 retrieving revision 1.41 diff -u -d -r1.40 -r1.41 --- special.cpp 11 May 2004 22:12:42 -0000 1.40 +++ special.cpp 11 May 2004 23:09:33 -0000 1.41 @@ -252,8 +252,8 @@ { /* 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; |