if (message_timer.started()) {
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, _("You found a secret area!"), pos, LAYER_GUI);
+ Vector pos = Vector(0, SCREEN_HEIGHT/2 - normal_font->get_height()/2);
+ context.draw_center_text(normal_font, _("You found a secret area!"), pos, LAYER_GUI, SecretAreaTrigger::text_color);
context.pop_transform();
}
if (message_timer.check()) {