diff options
author | frosch <frosch@openttd.org> | 2010-06-13 14:11:32 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-06-13 14:11:32 +0000 |
commit | 56fbbdeafd2321a1e1d3a9349d5d07cdaf4d64a7 (patch) | |
tree | 414041a43fec98d9e845ef00638e00ee4a476bda /src/newgrf_config.h | |
parent | 641fc68aa80fc24fa277ae3dc62eec2969bdd26b (diff) | |
download | openttd-56fbbdeafd2321a1e1d3a9349d5d07cdaf4d64a7.tar.xz |
(svn r19972) -Change: Use the md5sum from the previous save of the game for BaNaNaS instead of the initial (when the grf was added) md5sum from the gamelog. Neither method is 'better', but this way it is independent from the gamelog.
Diffstat (limited to 'src/newgrf_config.h')
-rw-r--r-- | src/newgrf_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_config.h b/src/newgrf_config.h index a62b028b4..bdac1868a 100644 --- a/src/newgrf_config.h +++ b/src/newgrf_config.h @@ -86,6 +86,7 @@ struct GRFConfig : ZeroedMemoryAllocator { ~GRFConfig(); GRFIdentifier ident; ///< grfid and md5sum to uniquely identify newgrfs + uint8 original_md5sum[16]; ///< MD5 checksum of original file if only a 'compatible' file was loaded char *filename; ///< Filename - either with or without full path char *name; ///< NOSAVE: GRF name (Action 0x08) char *info; ///< NOSAVE: GRF info (author, copyright, ...) (Action 0x08) |