From 81c5d12324edc1938391a3fd8f1ae43251ab5ee5 Mon Sep 17 00:00:00 2001 From: Titus Tscharntke Date: Tue, 1 Nov 2011 21:30:05 +0000 Subject: [PATCH] mouse over highlighting for create game button and bugfix --- source/glest_game/menu/menu_state_join_game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_game/menu/menu_state_join_game.cpp b/source/glest_game/menu/menu_state_join_game.cpp index 646604d2..c6e29642 100644 --- a/source/glest_game/menu/menu_state_join_game.cpp +++ b/source/glest_game/menu/menu_state_join_game.cpp @@ -326,7 +326,6 @@ void MenuStateJoinGame::mouseClick(int x, int y, MouseButton mouseButton) { buttonAutoFindServers.setEnabled(false); buttonConnect.setEnabled(false); - buttonCreateGame.setEnabled(false); clientInterface->discoverServers(this); } if(SystemFlags::getSystemSettingType(SystemFlags::debugSystem).enabled) SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__); @@ -339,6 +338,7 @@ void MenuStateJoinGame::mouseMove(int x, int y, const MouseState *ms){ buttonReturn.mouseMove(x, y); buttonConnect.mouseMove(x, y); buttonAutoFindServers.mouseMove(x, y); + buttonCreateGame.mouseMove(x, y); listBoxServerType.mouseMove(x, y); //hide-show options depending on the selection