Skip to content

Commit

Permalink
Update source/d1formats/d1cl2.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Stephen C. Wills <staphen@gmail.com>
  • Loading branch information
glebm and StephenCWills authored Oct 12, 2024
1 parent 21bdcba commit 16ddcca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/d1formats/d1cl2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ bool D1Cl2::writeFileData(D1Gfx &gfx, QFile &outFile, bool isClx, const QString
}

// calculate sub header size
int subHeaderSize = isClx ? SUB_HEADER_SIZE : 6;
int subHeaderSize = !isClx ? SUB_HEADER_SIZE : 6;
if (!isClx) {
for (int n = 0; n < numFrames; n++) {
D1GfxFrame *frame = gfx.getFrame(n);
Expand Down

0 comments on commit 16ddcca

Please sign in to comment.