From: Ryan Flegel Date: Wed, 12 May 2004 01:16:33 +0000 (+0000) Subject: - fixed rising specials X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=75de0896b0ae619846259680bacd07c17ad5299e;p=supertux.git - fixed rising specials SVN-Revision: 1123 --- diff --git a/src/special.cpp b/src/special.cpp index 9b04c053e..a4da6d36f 100644 --- a/src/special.cpp +++ b/src/special.cpp @@ -248,12 +248,13 @@ void Upgrade::draw() { SDL_Rect dest; + if (base.height < 32) { /* Rising up... */ - dest.x = (int)(base.x - scroll_x); - dest.y = (int)(base.y - scroll_y + 32 - base.height); + dest.x = (int)(base.x); + dest.y = (int)(base.y + 32 - base.height); dest.w = 32; dest.h = (int)base.height;