Changed FloatingScore to support text (changed name to FloatingText). I guess this...
[supertux.git] / src / sector.cpp
index b980e8e..0cd48d8 100644 (file)
@@ -667,7 +667,7 @@ Sector::add_score(const Vector& pos, int s)
 {
   global_stats.add_points(SCORE_STAT, s);
                                                                                 
-  add_object(new FloatingScore(pos, s));
+  add_object(new FloatingText(pos, s));
 }
                                                                                 
 void