mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-22 16:18:50 -05:00
always add a gossip stone hint for greg when greg bridge is enabled (#2530)
* always add a gossip stone hint for greg when greg bridge is enabled * don't double loop --------- Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
parent
231b7eecca
commit
96dd7073e4
@ -812,7 +812,9 @@ void CreateAllHints() {
|
||||
if (hintSetting.distTable[static_cast<int>(HintType::Always)].copies > 0) {
|
||||
// Only filter locations that had a random item placed at them (e.g. don't get cow locations if shuffle cows is off)
|
||||
auto alwaysHintLocations = FilterFromPool(allLocations, [](const uint32_t loc){
|
||||
return Location(loc)->GetHint().GetType() == HintCategory::Always &&
|
||||
return ((Location(loc)->GetHint().GetType() == HintCategory::Always) ||
|
||||
// If we have Rainbow Bridge set to Greg, add a hint for where Greg is
|
||||
(Bridge.Is(RAINBOWBRIDGE_GREG) && Location(loc)->GetPlacedItemKey() == GREG_RUPEE)) &&
|
||||
Location(loc)->IsHintable() && !(Location(loc)->IsHintedAt());
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user