From b2a7cf9c239c7d9ce1a5d39f7f8498edaf2d5655 Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Tue, 11 May 2004 23:09:33 +0000 Subject: [PATCH] Upgrades weren't being shown when appearing... fixed! SVN-Revision: 1115 --- src/special.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.11.0