- just doing some C++ifying
[supertux.git] / src / player.cpp
index ce98871..f326f08 100644 (file)
@@ -705,7 +705,7 @@ Player::draw(DrawingContext& context)
     {
       if (dying == DYING_SQUISHED)
         {
-          smalltux_gameover->draw(context, pos, LAYER_OBJECTS+1);
+          smalltux_gameover->draw(context, pos, LAYER_FOREGROUNDTILES+1);
         }
       else
         {