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());
|
||||
|
@ -3168,7 +3168,7 @@ void DrawRandoEditor(bool& open) {
|
||||
static int maxKeyringCount;
|
||||
static bool disableGFKeyring = false;
|
||||
|
||||
ImGui::SetNextWindowSize(ImVec2(920, 600), ImGuiCond_FirstUseEver);
|
||||
ImGui::SetNextWindowSize(ImVec2(920, 600), ImGuiCond_FirstUseEver);
|
||||
if (!ImGui::Begin("Randomizer Editor", &open, ImGuiWindowFlags_NoFocusOnAppearing)) {
|
||||
ImGui::End();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user