Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13889/src
Modified Files:
leveleditor.cpp
Log Message:
Bugfix: Not current tilemaps are drawn semi-transparently.
Index: leveleditor.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/leveleditor.cpp,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -d -r1.161 -r1.162
--- leveleditor.cpp 21 Oct 2004 18:03:23 -0000 1.161
+++ leveleditor.cpp 21 Oct 2004 22:04:48 -0000 1.162
@@ -681,12 +681,12 @@
(*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();
|