Skip to content

Commit 3c784bf

Browse files
committed
Resolve issue #4: Digital key value
1 parent 944da2f commit 3c784bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bncsutil/cdkeydecoder.cpp

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

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

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

0 commit comments

Comments
 (0)