diff options
author | rubidium <rubidium@openttd.org> | 2007-06-13 17:34:05 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-13 17:34:05 +0000 |
commit | 197a8fd5f3faebdee4845bcc298145f7623dc7e7 (patch) | |
tree | 608cac548a8b8ace91dd62d682965f7d498a36fd /src/strings.cpp | |
parent | 8a1c9187a1639bea83c371c045d7a96473f0a891 (diff) | |
download | openttd-197a8fd5f3faebdee4845bcc298145f7623dc7e7.tar.xz |
(svn r10145) -Fix: make compiling with networking disabled (again) possible.
Diffstat (limited to 'src/strings.cpp')
-rw-r--r-- | src/strings.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/strings.cpp b/src/strings.cpp index 8e0b7942f..603371029 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -1101,7 +1101,11 @@ StringID RemapOldStringID(StringID s) } } +#ifdef ENABLE_NETWORK extern void SortNetworkLanguages(); +#else /* ENABLE_NETWORK */ +static inline void SortNetworkLanguages() {} +#endif /* ENABLE_NETWORK */ extern void SortTownGeneratorNames(); bool ReadLanguagePack(int lang_index) |