Skip to content

Commit

Permalink
Merge pull request #10 from Xebeth/bugfix/9-seek-error
Browse files Browse the repository at this point in the history
#9 Fix a missing else causing the ItemID to be decremented twice…
  • Loading branch information
TeoTwawki authored May 27, 2023
2 parents 5de424c + 9221982 commit 56f3a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LootBox/FFXIHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ void FFXiHelper::GetFileFromItemID(DWORD &ItemID, CString &DATFile, int Language
}

// 8704 (0x2200) to 10239 (0x27FF) General Items 2
if (ItemID <= 0x27FF)
else if (ItemID <= 0x27FF)
{
ItemID -= 0x2200;

Expand Down

0 comments on commit 56f3a7e

Please sign in to comment.