[Fix] Error on file not found in pack_openFromCache.
This commit is contained in:
parent
c7f9fd3a79
commit
96a38a1f60
@ -216,11 +216,13 @@ Packfile_t* pack_openFromCache(Packcache_t* cache, const char* filename) {
|
|||||||
file->end += file->start;
|
file->end += file->start;
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
return file;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return file;
|
free(file);
|
||||||
|
WARN("File '%s' not found in packfile.", filename);
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user