From: Ricardo Cruz Date: Thu, 21 Oct 2004 22:04:48 +0000 (+0000) Subject: Bugfix: Not current tilemaps are drawn semi-transparently. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=42aa4538bda4d2147ecef87724cd2a5e028ac86f;p=supertux.git Bugfix: Not current tilemaps are drawn semi-transparently. SVN-Revision: 2049 --- diff --git a/src/leveleditor.cpp b/src/leveleditor.cpp index 9ce1e0eba..de5a83b94 100644 --- a/src/leveleditor.cpp +++ b/src/leveleditor.cpp @@ -681,12 +681,12 @@ if(sector) (*i)->draw(context); context.pop_transform(); + continue; } Background* background = dynamic_cast (*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();