mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-26 07:59:09 +00:00
(svn r22799) -Fix (r22792): compile failure when there is no networking support
This commit is contained in:
@@ -718,7 +718,11 @@ int ttd_main(int argc, char *argv[])
|
||||
|
||||
CheckForMissingGlyphsInLoadedLanguagePack();
|
||||
|
||||
#if defined(ENABLE_NETWORK)
|
||||
ScanNewGRFFiles(new AfterNewGRFScan(network ? network_conn : NULL, join_server_password, join_company_password));
|
||||
#else
|
||||
ScanNewGRFFiles(new AfterNewGRFScan(NULL, NULL, NULL));
|
||||
#endif
|
||||
|
||||
_video_driver->MainLoop();
|
||||
|
||||
|
Reference in New Issue
Block a user