Draw player above enemies in the dying sequence.
authorRicardo Cruz <rick2@aeiou.pt>
Tue, 1 Jun 2004 14:47:31 +0000 (14:47 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Tue, 1 Jun 2004 14:47:31 +0000 (14:47 +0000)
SVN-Revision: 1379

src/player.cpp

index 655911d..32c70bb 100644 (file)
@@ -694,7 +694,7 @@ Player::draw(DrawingContext& context)
     {
       if (dying == DYING_SQUISHED)
         {
-          smalltux_gameover->draw(context, pos, LAYER_OBJECTS);
+          smalltux_gameover->draw(context, pos, LAYER_OBJECTS+1);
         }
       else
         {