Fix segment violation MINIZIP_ENABLED

This commit is contained in:
Daniel T. Borelli
2015-05-06 20:37:25 -03:00
parent 7156aff160
commit 93095014fd
2 changed files with 16 additions and 5 deletions

View File

@ -92,7 +92,9 @@ void PackedData::add_path(const String& pkg_path, const String& path, uint64_t o
void PackedData::add_pack_source(PackSource *p_source) {
sources.push_back(p_source);
if (p_source != NULL) {
sources.push_back(p_source);
}
};
PackedData *PackedData::singleton=NULL;