mouse over highlighting for create game button and bugfix

This commit is contained in:
Titus Tscharntke 2011-11-01 21:30:05 +00:00
parent 193354865c
commit 81c5d12324
1 changed files with 1 additions and 1 deletions

View File

@ -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