Merge svn r27779
Conflicts: src/autoreplace_gui.cpp src/economy.cpp src/fios_gui.cpp src/lang/spanish_MX.txt src/network/network_gui.cpp src/rev.cpp.in src/road_gui.cpp src/toolbar_gui.cpp src/window.cpp
This commit is contained in:
@@ -1185,17 +1185,17 @@ struct NetworkStartServerWindow : public Window {
|
||||
|
||||
case WID_NSS_LOAD_GAME:
|
||||
_is_network_server = true;
|
||||
ShowSaveLoadDialog(SLD_LOAD_GAME);
|
||||
ShowSaveLoadDialog(FT_SAVEGAME, SLO_LOAD);
|
||||
break;
|
||||
|
||||
case WID_NSS_PLAY_SCENARIO:
|
||||
_is_network_server = true;
|
||||
ShowSaveLoadDialog(SLD_LOAD_SCENARIO);
|
||||
ShowSaveLoadDialog(FT_SCENARIO, SLO_LOAD);
|
||||
break;
|
||||
|
||||
case WID_NSS_PLAY_HEIGHTMAP:
|
||||
_is_network_server = true;
|
||||
ShowSaveLoadDialog(SLD_LOAD_HEIGHTMAP);
|
||||
ShowSaveLoadDialog(FT_HEIGHTMAP,SLO_LOAD);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -1889,7 +1889,7 @@ struct NetworkClientListWindow : Window {
|
||||
int diffy = (num + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM) - (this->GetWidget<NWidgetBase>(WID_CL_PANEL)->current_y);
|
||||
/* If height is changed */
|
||||
if (diffx > 0 || diffy != 0) { // Width can only grow, also title bar can be wider than content
|
||||
ResizeWindow(this, diffx, diffy);
|
||||
ResizeWindow(this, diffx, diffy, false);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user