mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-11 08:49:50 +00:00
(svn r22799) -Fix (r22792): compile failure when there is no networking support
This commit is contained in:
parent
d89ff5b278
commit
23e5720392
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user