diff options
author | smatz <smatz@openttd.org> | 2008-05-04 21:53:36 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-05-04 21:53:36 +0000 |
commit | 297f99e100bcede36d54b8f833756c73d70fd4a0 (patch) | |
tree | 741c48c433316b11af1a790772deb3a4078fe47c /src/settings.cpp | |
parent | 0b8b5d1f3b5f45374d1e43390777b2de51fb7728 (diff) | |
download | openttd-297f99e100bcede36d54b8f833756c73d70fd4a0.tar.xz |
(svn r12944) -Codechange: use rev.h instead of externs at many places
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index eabd3c1b7..2c800e96d 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -44,6 +44,7 @@ #include "sound_func.h" #include "core/alloc_func.hpp" #include "player_func.h" +#include "rev.h" #ifdef WITH_FREETYPE #include "fontcache.h" #endif @@ -1769,9 +1770,6 @@ static void NewsDisplaySaveConfig(IniFile *ini, const char *grpname) */ static void SaveVersionInConfig(IniFile *ini) { - extern const char _openttd_revision[]; - extern uint32 _openttd_newgrf_version; - IniGroup *group = ini_getgroup(ini, "version", -1); if (group == NULL) return; |