mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge branch 'master' of git://github.com/matricks/teeworlds
This commit is contained in:
commit
4ffab2af80
|
@ -714,6 +714,9 @@ void CMenus::OnInit()
|
|||
|
||||
void CMenus::PopupMessage(const char *pTopic, const char *pBody, const char *pButton)
|
||||
{
|
||||
// reset active item
|
||||
UI()->SetActiveItem(0);
|
||||
|
||||
str_copy(m_aMessageTopic, pTopic, sizeof(m_aMessageTopic));
|
||||
str_copy(m_aMessageBody, pBody, sizeof(m_aMessageBody));
|
||||
str_copy(m_aMessageButton, pButton, sizeof(m_aMessageButton));
|
||||
|
|
Loading…
Reference in a new issue