Draw bouncy coin above other objects
authorRyan Flegel <rflegel@gmail.com>
Mon, 24 Apr 2006 21:09:32 +0000 (21:09 +0000)
committerRyan Flegel <rflegel@gmail.com>
Mon, 24 Apr 2006 21:09:32 +0000 (21:09 +0000)
SVN-Revision: 3418

src/object/gameobjs.cpp

index 78adbbe..dff136d 100644 (file)
@@ -61,7 +61,7 @@ BouncyCoin::update(float elapsed_time)
 void
 BouncyCoin::draw(DrawingContext& context)
 {
-  sprite->draw(context, position, LAYER_OBJECTS);
+  sprite->draw(context, position, LAYER_OBJECTS + 5);
 }
 
 //---------------------------------------------------------------------------