From: Ricardo Cruz Date: Tue, 11 May 2004 23:09:33 +0000 (+0000) Subject: Upgrades weren't being shown when appearing... fixed! X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b2a7cf9c239c7d9ce1a5d39f7f8498edaf2d5655;p=supertux.git Upgrades weren't being shown when appearing... fixed! SVN-Revision: 1115 --- diff --git a/src/special.cpp b/src/special.cpp index 64fc9d87b..9b04c053e 100644 --- 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;