mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r22912) -Fix [FS#4753]: another attempt at fixing a related crash (can't reproduce it though)
This commit is contained in:
parent
a435f1fb0b
commit
f5fdf0e127
@ -424,8 +424,8 @@ static bool IsSameAI(const ContentInfo *ci, bool md5sum, AIFileInfo *info)
|
||||
|
||||
AIFileChecksumCreator checksum;
|
||||
const char *tar_filename = info->GetTarFile();
|
||||
TarList::iterator iter = _tar_list.find(tar_filename);
|
||||
if (iter != _tar_list.end()) {
|
||||
TarList::iterator iter;
|
||||
if (tar_filename != NULL && (iter = _tar_list.find(tar_filename)) != _tar_list.end()) {
|
||||
/* The main script is in a tar file, so find all files that
|
||||
* are in the same tar and add them to the MD5 checksumming. */
|
||||
TarFileList::iterator tar;
|
||||
|
Loading…
Reference in New Issue
Block a user