about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
authorxalduin <xalduin@gmail.com>2010-06-03 16:24:41 -0400
committerxalduin <xalduin@gmail.com>2010-06-03 16:24:41 -0400
commit277eeef09832ede90a0ddab3e5d2ae5c296e7793 (patch)
treef3167ef55a0bfccccfab67f5bb6f36d036a1c927 /src/game
parent3dc9beb7ec09711471d9949f2b17d944d3915e09 (diff)
parent67d4903b9fe4355c8ddaa771fa4db5d6a80d17c9 (diff)
downloadzcatch-277eeef09832ede90a0ddab3e5d2ae5c296e7793.tar.gz
zcatch-277eeef09832ede90a0ddab3e5d2ae5c296e7793.zip
Merge branch 'master' of git://github.com/matricks/teeworlds
Diffstat (limited to 'src/game')
-rw-r--r--src/game/client/components/menus.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp
index b752f8cb..fc919409 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));