Fix compilation error
This commit is contained in:
@@ -74,9 +74,12 @@ This is usable for any OpenTTD servers
|
||||
|
||||
== CHANGELOG ==
|
||||
|
||||
*** 1.11.0 (19 Apr 2021) ***
|
||||
*** 1.11.2 (3 May 2021) ***
|
||||
- OpenTTD update.
|
||||
|
||||
*** 1.11.1 (19 Apr 2021) ***
|
||||
- Fixed crash when building road stop or airport.
|
||||
- Fixed joining companies in game.
|
||||
- Fixed joining companies in the game.
|
||||
- Fixed graphical glitches when using town growth tiles zoning.
|
||||
- Added German translation for additional string - by danidoedel.
|
||||
|
||||
|
||||
@@ -367,7 +367,7 @@ struct CommandsToolbarWindow : Window {
|
||||
strecpy(ip, NOVAPOLIS_IPV4_PRIMARY, lastof(ip));
|
||||
// else strecpy(ip, NOVAPOLIS_IPV4_SECONDARY, lastof(ip));
|
||||
|
||||
NetworkClientConnectGame(NetworkAddress(ip, (3980 + widget - CTW_NS0)), COMPANY_SPECTATOR);
|
||||
NetworkClientConnectGame(ip, (3980 + widget - CTW_NS0), COMPANY_SPECTATOR);
|
||||
}
|
||||
else if (widget >= CTW_CARGO_FIRST) {
|
||||
int i = widget - CTW_CARGO_FIRST;
|
||||
|
||||
Reference in New Issue
Block a user