- fixed rising specials
authorRyan Flegel <rflegel@gmail.com>
Wed, 12 May 2004 01:16:33 +0000 (01:16 +0000)
committerRyan Flegel <rflegel@gmail.com>
Wed, 12 May 2004 01:16:33 +0000 (01:16 +0000)
SVN-Revision: 1123

src/special.cpp

index 9b04c05..a4da6d3 100644 (file)
@@ -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;