From 67d4903b9fe4355c8ddaa771fa4db5d6a80d17c9 Mon Sep 17 00:00:00 2001 From: oy Date: Thu, 3 Jun 2010 22:03:27 +0200 Subject: [PATCH] fixed stuck "error loading demo"-popup. Closes #90 --- src/game/client/components/menus.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp index b752f8cb9..fc9194095 100644 --- a/src/game/client/components/menus.cpp +++ b/src/game/client/components/menus.cpp @@ -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));