mirror of https://github.com/OpenTTD/OpenTTD
(svn r10888) -Fix (r10886): 64 bits alignment made a struct too big.
parent
1b25d447f1
commit
e474b58d2f
|
@ -35,9 +35,9 @@
|
||||||
struct network_d {
|
struct network_d {
|
||||||
PlayerID company; // select company in network lobby
|
PlayerID company; // select company in network lobby
|
||||||
byte field; // select text-field in start-server and game-listing
|
byte field; // select text-field in start-server and game-listing
|
||||||
|
byte widget_id; ///< The widget that has the pop-up input menu
|
||||||
NetworkGameList *server; // selected server in lobby and game-listing
|
NetworkGameList *server; // selected server in lobby and game-listing
|
||||||
FiosItem *map; // selected map in start-server
|
FiosItem *map; // selected map in start-server
|
||||||
byte widget_id; ///< The widget that has the pop-up input menu
|
|
||||||
};
|
};
|
||||||
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(network_d));
|
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(network_d));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue