X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fshrinkfade.cpp;h=d921efbc97402a8027809db262e101a6eab56dd9;hb=cbfc9bb03c0e28fdf512553234a37a33edd18f53;hp=0b999004ed306c3a48cef0106e83d20e70782502;hpb=9b58f72e1c6900540c0ee00a800ed57d2c1f4974;p=supertux.git diff --git a/src/shrinkfade.cpp b/src/shrinkfade.cpp index 0b999004e..d921efbc9 100644 --- a/src/shrinkfade.cpp +++ b/src/shrinkfade.cpp @@ -1,4 +1,4 @@ -// $Id: screen.hpp 3327 2006-04-13 15:02:40Z ravu_al_hemio $ +// $Id$ // // SuperTux // Copyright (C) 2006 Matthias Braun @@ -51,7 +51,7 @@ ShrinkFade::draw(DrawingContext& context) float top = speedtop * accum_time; float right = SCREEN_WIDTH - speedright * accum_time; float bottom = SCREEN_HEIGHT - speedbottom * accum_time; - + context.draw_filled_rect(Vector(0, 0), Vector(left, SCREEN_HEIGHT), black, LAYER_GUI+1);