2
0
mirror of https://github.com/godotengine/godot.git synced 2025-02-17 22:43:01 +08:00

Merge pull request from benbusby/hotfix/zippacker_null_check

Remove `zf != NULL` check from `ZIPPacker::start_file`
This commit is contained in:
Rémi Verschelde 2022-11-02 14:17:07 +01:00
commit 2fd2a04efc
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -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;