diff options
author | frosch <frosch@openttd.org> | 2017-01-07 21:36:25 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2017-01-07 21:36:25 +0000 |
commit | a3b356e05782f8b53ef2e3a645eccd33a8c87c23 (patch) | |
tree | 0f02c58d9d835a6daa8d02b5457736dbc18c24a6 /src/newgrf_config.cpp | |
parent | 4df712589c0786295238f5b915cb1c53939a94c2 (diff) | |
download | openttd-a3b356e05782f8b53ef2e3a645eccd33a8c87c23.tar.xz |
(svn r27725) -Codechange: Remove IsOpenTTDBaseGRF and test for GCF_CONFIG instead, which does the same in all use-cases.
Diffstat (limited to 'src/newgrf_config.cpp')
-rw-r--r-- | src/newgrf_config.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/newgrf_config.cpp b/src/newgrf_config.cpp index 0f6623f64..b970e0a80 100644 --- a/src/newgrf_config.cpp +++ b/src/newgrf_config.cpp @@ -916,15 +916,6 @@ char *GRFBuildParamList(char *dst, const GRFConfig *c, const char *last) static const uint32 OPENTTD_GRAPHICS_BASE_GRF_ID = BSWAP32(0xFF4F5400); /** - * Checks whether this GRF is a OpenTTD base graphic GRF. - * @return true if and only if it is a base GRF. - */ -bool GRFConfig::IsOpenTTDBaseGRF() const -{ - return (this->ident.grfid & 0x00FFFFFF) == OPENTTD_GRAPHICS_BASE_GRF_ID; -} - -/** * Search a textfile file next to this NewGRF. * @param type The type of the textfile to search for. * @return The filename for the textfile, \c NULL otherwise. |