diff options
author | rubidium <rubidium@openttd.org> | 2007-01-21 17:29:38 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-01-21 17:29:38 +0000 |
commit | a93eb4b8d8e2b7c8591bb31e22c251f9a2dee99b (patch) | |
tree | 5a44a4c1db6458d0c84701360bed493c40353da1 /src/newgrf_config.cpp | |
parent | 365dc05cd7e624872d07663a6881a1e44794baf0 (diff) | |
download | openttd-a93eb4b8d8e2b7c8591bb31e22c251f9a2dee99b.tar.xz |
(svn r8316) -Codechange: move the GRF ID and MD5 checksum from GRFConfig to GRFIdentifier so it can be reused.
Diffstat (limited to 'src/newgrf_config.cpp')
-rw-r--r-- | src/newgrf_config.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/newgrf_config.cpp b/src/newgrf_config.cpp index f17839306..877d05981 100644 --- a/src/newgrf_config.cpp +++ b/src/newgrf_config.cpp @@ -352,10 +352,8 @@ const GRFConfig *FindGRFConfig(uint32 grfid, const uint8 *md5sum) /** Structure for UnknownGRFs; this is a lightweight variant of GRFConfig */ typedef struct UnknownGRF UnknownGRF; -struct UnknownGRF { +struct UnknownGRF : public GRFIdentifier { UnknownGRF *next; - uint32 grfid; - uint8 md5sum[16]; char name[NETWORK_GRF_NAME_LENGTH]; }; |