Explorar el Código

Merge pull request #68131 from benbusby/hotfix/zippacker_null_check

Remove `zf != NULL` check from `ZIPPacker::start_file`
Rémi Verschelde hace 2 años
padre
commit
2fd2a04efc
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      modules/zip/zip_packer.cpp

+ 0 - 1
modules/zip/zip_packer.cpp

@@ -50,7 +50,6 @@ Error ZIPPacker::close() {
 }
 
 Error ZIPPacker::start_file(String p_path) {
-	ERR_FAIL_COND_V_MSG(zf != NULL, FAILED, "ZIPPacker is already in use.");
 	ERR_FAIL_COND_V_MSG(fa.is_null(), FAILED, "ZIPPacker must be opened before use.");
 
 	zip_fileinfo zipfi;