(svn r22799) -Fix (r22792): compile failure when there is no networking support

This commit is contained in:
rubidium 2011-08-21 13:10:19 +00:00
parent d89ff5b278
commit 23e5720392

View File

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