Skip to content

Commit

Permalink
Fix Shield dens
Browse files Browse the repository at this point in the history
Thanks @Leanny

Fixes #68
  • Loading branch information
Admiral-Fish committed Jun 21, 2020
1 parent 5a480cc commit 02035fd
Show file tree
Hide file tree
Showing 3 changed files with 1,550 additions and 1,549 deletions.
5 changes: 3 additions & 2 deletions Forms/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -484,10 +484,11 @@ void MainWindow::denIndexChanged(int index)
{
if (index >= 0)
{
u8 denID = ui->comboBoxDen->currentData().toInt();
int rarity = ui->comboBoxRarity->currentIndex();
ui->comboBoxSpecies->clear();
den = DenLoader::getDen(static_cast<u8>(ui->comboBoxDen->currentData().toInt()), static_cast<u8>(rarity));
den = DenLoader::getDen(denID, rarity);

ui->comboBoxSpecies->clear();
auto raids = den.getRaids(currentProfile.getVersion());
for (const auto &raid : raids)
{
Expand Down
Binary file modified Resources/Encounters/nests.bin
Binary file not shown.
Loading

0 comments on commit 02035fd

Please sign in to comment.