Skip to content

Commit fc58a06

Browse files
committed
Fix bug #51.
1 parent b028280 commit fc58a06

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Diablo Edit2/D2Item.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ void CD2Item::WriteData(COutBitsStream& bs, DWORD version) const {
760760
const BOOL isD2R = IsD2R(version);
761761
if (!isD2R || bExport)
762762
bs << WORD(0x4D4A);
763-
if (bExport && IsPtr25AndAbove(version))
763+
if (bExport && IsD2R(version))
764764
bs << version;
765765
bs << bQuest
766766
<< bits(iUNKNOWN_01, 3)

Diablo Edit2/DiabloEdit2.rc

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)