Skip to content

Commit 6e70256

Browse files
authored
Merge pull request #12 from BNETDocs/issue-11
Apply fix for war3 cdkey decoding
2 parents 720c8c2 + 6336a9b commit 6e70256

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bncsutil/cdkeydecoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ int CDKeyDecoder::processWarCraft3Key() {
478478
}
479479
#endif
480480

481-
value1 = LSB4(*(uint32_t*) (((char*) values) + 2)) & 0xFFFFFF00;
481+
value1 = LSB4(*(uint32_t*) (((char*) values) + 2)) & 0xFFFFFF03;
482482

483483
w3value2 = new char[10];
484484
#if LITTLEENDIAN

0 commit comments

Comments
 (0)