Mercurial > hg > openttd
changeset 17990:470c1caa3d43 draft
(svn r22799) -Fix (r22792): compile failure when there is no networking support
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sun, 21 Aug 2011 13:10:19 +0000 |
parents | 1b70ad382473 |
children | ba8f20e7b16d |
files | src/openttd.cpp |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -718,7 +718,11 @@ 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();