mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 07:33:40 +00:00
parent
0d8cc90b4f
commit
aecd53092f
@ -22,6 +22,7 @@ Version 1.9.0-svn:
|
||||
* Added tooltips to the --new-widgets title screen
|
||||
* Added a place holder upload statistics button in the --new-widgets title
|
||||
* Fixed bug #15716: Lobby crash when refreshing with filtered out games
|
||||
* Fixed bug #15768: Avoid parts of the previous game show in the lobby
|
||||
screen
|
||||
* WML Engine:
|
||||
* Deprecated [set_variable]'s random key, use rand instead
|
||||
|
@ -537,6 +537,16 @@ static void enter_lobby_mode(game_display& disp, const config& game_config, mp::
|
||||
sound::stop_music();
|
||||
}
|
||||
lobby_info li(game_config);
|
||||
|
||||
// Force a black background
|
||||
const Uint32 colour = SDL_MapRGBA(disp.video().getSurface()->format
|
||||
, 0
|
||||
, 0
|
||||
, 0
|
||||
, 255);
|
||||
|
||||
SDL_FillRect(disp.video().getSurface(), NULL, colour);
|
||||
|
||||
gui2::tlobby_main dlg(game_config, li, disp);
|
||||
dlg.set_preferences_callback(
|
||||
boost::bind(do_preferences_dialog,
|
||||
|
Loading…
x
Reference in New Issue
Block a user