Bugfix: Not current tilemaps are drawn semi-transparently.
authorRicardo Cruz <rick2@aeiou.pt>
Thu, 21 Oct 2004 22:04:48 +0000 (22:04 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Thu, 21 Oct 2004 22:04:48 +0000 (22:04 +0000)
SVN-Revision: 2049

src/leveleditor.cpp

index 9ce1e0e..de5a83b 100644 (file)
@@ -681,12 +681,12 @@ if(sector)
       (*i)->draw(context);
 
       context.pop_transform();
+      continue;
       }
     Background* background = dynamic_cast<Background*> (*i);
     if(background)
       {  // don't resize background
       context.push_transform();
-      context.set_translation(scroll);
       context.set_zooming(1.0);
       (*i)->draw(context);
       context.pop_transform();