From 75de0896b0ae619846259680bacd07c17ad5299e Mon Sep 17 00:00:00 2001 From: Ryan Flegel Date: Wed, 12 May 2004 01:16:33 +0000 Subject: [PATCH] - fixed rising specials SVN-Revision: 1123 --- src/special.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.11.0