Fix compilation error

This commit is contained in:
dP
2021-05-03 23:00:51 +03:00
parent d7c46e1477
commit 375001ca25
2 changed files with 6 additions and 3 deletions

View File

@@ -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.

View File

@@ -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;