From 3482b24fd0dff75141a591e441c53ace8e2b2783 Mon Sep 17 00:00:00 2001 From: LMH Date: Fri, 28 Nov 2014 08:50:50 -1000 Subject: [PATCH] Changed egg shadow draw layer so it will no longer appear in front of bonusblocks before the egg is out. --- src/object/growup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object/growup.cpp b/src/object/growup.cpp index 50d16ea48..37eda106e 100644 --- a/src/object/growup.cpp +++ b/src/object/growup.cpp @@ -55,7 +55,7 @@ GrowUp::draw(DrawingContext& context) //Draw the Sprite. MovingSprite::draw(context); //Draw shade - shadesprite->draw(context, get_pos(), layer+1); + shadesprite->draw(context, get_pos(), layer); //Draw the light when dark context.get_light( get_bbox().get_middle(), &light ); if (light.red + light.green < 2.0){ -- 2.11.0