We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e33651a commit 331a215Copy full SHA for 331a215
1 file changed
tsc/src/gui/hud.cpp
@@ -399,7 +399,7 @@ void cHud::Set_World_Name(std::string name)
399
400
void cHud::Set_Text(std::string message)
401
{
402
- mp_message_text->setText(message);
+ mp_message_text->setText(reinterpret_cast<const CEGUI::utf8*>(message.c_str())); // Caller has to translate it
403
mp_message_text->show();
404
m_text_counter = TEXT_DISPLAY_TIME;
405
}
0 commit comments