Skip to content

Commit

Permalink
Fix showing den 16
Browse files Browse the repository at this point in the history
  • Loading branch information
zaksabeast committed Jan 18, 2020
1 parent c956fde commit e66dcc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CaptureSight/source/utils/RaidDetails.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
u8 GetDenReadId(u8 denId) {
// Dens are zero-indexed in memory, but we omit 16 since it's for special encounters
// This is for consistency with the PKHeX Raid Plugin and RaidFinder
return denId < 16 ? denId - 1 : denId;
return denId > 16 ? denId : denId - 1;
}

std::shared_ptr<Den> RaidDetails::ReadDen(u8 denId) {
Expand Down

0 comments on commit e66dcc0

Please sign in to comment.