summaryrefslogtreecommitdiff
path: root/src/Companion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Companion.cpp')
-rw-r--r--src/Companion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Companion.cpp b/src/Companion.cpp
index fcf5668..3d9d2b6 100644
--- a/src/Companion.cpp
+++ b/src/Companion.cpp
@@ -681,7 +681,7 @@ void Companion::Process() {
this->ExtractNode(node, output, wrapper);
}
} else {
- if(gCurrentFileOffset && assetNode["offsets"]) {
+ if(gCurrentFileOffset && assetNode["offset"]) {
const auto offset = assetNode["offset"].as<uint32_t>();
if (!IS_SEGMENTED(offset)) {
assetNode["offset"] = (gCurrentSegmentNumber << 24) | offset;