diff options
author | michi_cc <michi_cc@openttd.org> | 2012-02-04 13:29:00 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2012-02-04 13:29:00 +0000 |
commit | a9b6c5cd86f4f17155695890bfaf2e30404f5921 (patch) | |
tree | 54a16a5b71593df1f2b7d4869cfe5ab71c47e233 /src/base_media_func.h | |
parent | 02d07e68d8c6fc760021ec1c36086877f714152c (diff) | |
download | openttd-a9b6c5cd86f4f17155695890bfaf2e30404f5921.tar.xz |
(svn r23886) -Codechange: Allow limiting the MD5 file hash to the first x bytes of the file.
Diffstat (limited to 'src/base_media_func.h')
-rw-r--r-- | src/base_media_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base_media_func.h b/src/base_media_func.h index 1070ead61..9ed08dc80 100644 --- a/src/base_media_func.h +++ b/src/base_media_func.h @@ -131,7 +131,7 @@ bool BaseSet<T, Tnum_files, Tsearch_in_tars>::FillSetDetails(IniFile *ini, const file->missing_warning = strdup(item->value); } - switch (file->CheckMD5(BASESET_DIR)) { + switch (T::CheckMD5(file, BASESET_DIR)) { case MD5File::CR_MATCH: this->valid_files++; /* FALL THROUGH */ |