fix bug #13478 introduced in 2009-04-04T17:51:20Z!guillaume.melquiond@gmail.com

This commit is contained in:
Thomas Baumhauer 2009-05-06 11:42:49 +00:00
parent 1f3cad691e
commit 9f02a2724b

View file

@ -333,7 +333,7 @@ static server_type open_connection(game_display& disp, const std::string& origin
// Somewhat hacky...
// If we broke out of the do-while loop above error
// is still going to be NULL
if(!error) break;
if(!*error) break;
} // end login loop
}
} while(!(data.child("join_lobby") || data.child("join_game")));