qMax <qwiglydee@gmail.com>'s font patch, adds unicode support and support for drawing...
[supertux.git] / src / trigger / climbable.cpp
index 38dbccf..3a498d7 100644 (file)
@@ -93,8 +93,8 @@ Climbable::draw(DrawingContext& context)
   if (climbed_by) {
     context.push_transform();
     context.set_translation(Vector(0, 0));
-    Vector pos = Vector(0, SCREEN_HEIGHT/2 - gold_text->get_height()/2);
-    context.draw_center_text(gold_text, _("Up we go..."), pos, LAYER_GUI);
+    Vector pos = Vector(0, SCREEN_HEIGHT/2 - normal_font->get_height()/2);
+    context.draw_center_text(normal_font, _("Up we go..."), pos, LAYER_GUI, Climbable::text_color);
     context.pop_transform();
   }
 }