Skip to content

Commit

Permalink
ifdef out wraith icons check on android
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Nov 19, 2024
1 parent 8a9e831 commit fb53f79
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/hooks/ItemInfoPopup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,15 @@ class BI_DLL $modify(BIItemInfoPopup, ItemInfoPopup) {
}
}

#ifndef GEODE_IS_ANDROID
if(GameStatsManager::sharedState()->m_wraithIcons.contains(std::pair(m_unlockType, m_itemID))) {
updateLabelString(button, "Found in:\na wraith chest");
return;
}
#else
// use wraith chest as fallback on android because the set is not implemented in gd stl
updateLabelString(button, "Found in:\na wraith chest");
#endif
}

/*
Expand Down

0 comments on commit fb53f79

Please sign in to comment.