Skip to content

Commit

Permalink
newBlocksize fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WaterKnight committed Jul 14, 2018
1 parent 1d26ef0 commit 24c2f17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/systems/crigges/jmpq3/JMpqEditor.java
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,8 @@ public void close(boolean buildListfile, boolean buildAttributes, boolean recomp
// currentPos += newBlock.getCompressedSize();
// }

newBlockSize = newBlocks.size();

newHashPos = currentPos - (keepHeaderOffset ? headerOffset : 0);
newBlockPos = newHashPos + newHashSize * 16;

Expand Down

0 comments on commit 24c2f17

Please sign in to comment.