which caused game names to disappear because the location of the ui
wasn't initialized while building the gamelist.
This commit is contained in:
Jon Daniel 2005-08-01 18:10:37 +00:00
parent 8204db607c
commit 5307b5d020

View file

@ -113,6 +113,8 @@ lobby::lobby(display& disp, const config& cfg, chat& c, config& gamelist) :
current_game_(0)
{
game_config::debug = false;
const SDL_Rect pos = { 0, 0, disp.video().getx(), disp.video().gety() };
ui::set_location(pos);
gamelist_updated();
}