projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make tux and yeti dying state not reveal secret tilemaps
[supertux.git]
/
src
/
object
/
growup.cpp
diff --git
a/src/object/growup.cpp
b/src/object/growup.cpp
index
50d16ea
..
37eda10
100644
(file)
--- 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
//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){
//Draw the light when dark
context.get_light( get_bbox().get_middle(), &light );
if (light.red + light.green < 2.0){