mirror of https://github.com/OpenTTD/OpenTTD.git
Cleanup: remove unused optional ctor parameter for NetworkGameList
This commit is contained in:
parent
6212d0a8da
commit
de7ab2eb1c
|
@ -16,10 +16,7 @@
|
||||||
|
|
||||||
/** Structure with information shown in the game list (GUI) */
|
/** Structure with information shown in the game list (GUI) */
|
||||||
struct NetworkGameList {
|
struct NetworkGameList {
|
||||||
NetworkGameList(const std::string &connection_string, bool manually = false) :
|
NetworkGameList(const std::string &connection_string) : connection_string(connection_string) {}
|
||||||
connection_string(connection_string), manually(manually)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
NetworkGameInfo info = {}; ///< The game information of this server
|
NetworkGameInfo info = {}; ///< The game information of this server
|
||||||
std::string connection_string; ///< Address of the server
|
std::string connection_string; ///< Address of the server
|
||||||
|
|
Loading…
Reference in New Issue