Show combos when a new record is reached.
[supertux.git] / src / gameloop.cpp
index 15ebac5..d05379f 100644 (file)
@@ -655,7 +655,8 @@ GameSession::action(double frame_ratio)
     int red = rand() % 255;  // calculate firework color
     int green = rand() % red;
     currentsector->add_particles(epicenter, 0, 360, Vector(1.4,1.4),
-                   Vector(0,0), 45, Color(red,green,0), 3, 1300);
+                   Vector(0,0), 45, Color(red,green,0), 3, 1300,
+                   LAYER_FOREGROUND1+1);
 
     SoundManager::get()->play_sound(IDToSound(SND_FIREWORKS));
     random_timer.start(rand() % 400 + 600);  // next firework