Skip to content

Commit

Permalink
fix seek_offset_from_exe
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitalita committed Aug 5, 2023
1 parent adf967c commit cb500d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utility/gdre_packed_source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ bool GDREPackedSource::try_open_pack(const String &p_path, bool p_replace_files,
uint32_t magic = f->get_32();

if (magic != PACK_HEADER_MAGIC) {
if (!seek_offset_from_exe(f, p_path, p_offset)) {
if (!seek_offset_from_exe(f, pck_path, p_offset)) {
return false;
}
is_exe = true;
Expand Down

0 comments on commit cb500d3

Please sign in to comment.