mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-31 07:20:14 -05:00
Remove magic numbers and fix formatting.
This commit is contained in:
parent
8f5538a700
commit
13513345bf
@ -2932,7 +2932,7 @@ namespace Settings {
|
||||
// Random Key Rings
|
||||
if (KeyRings.Is(KEYRINGS_RANDOM) || KeyRings.Is(KEYRINGS_RANDOM_COUNT)) {
|
||||
auto keyRings = keyRingOptions;
|
||||
if (GerudoFortress.Is(0) && GerudoKeys.IsNot(0)) {
|
||||
if (GerudoFortress.Is(GERUDOFORTRESS_NORMAL) && GerudoKeys.IsNot(GERUDOKEYS_VANILLA)) {
|
||||
keyRings.push_back(&RingFortress);
|
||||
}
|
||||
int keyRingCount = KeyRings.Is(KEYRINGS_RANDOM_COUNT) ? KeyRingsRandomCount.Value<uint8_t>() : Random(0, keyRings.size());
|
||||
|
Loading…
Reference in New Issue
Block a user