Skip to content

Commit

Permalink
Fix it some more
Browse files Browse the repository at this point in the history
  • Loading branch information
Dregu committed Aug 24, 2024
1 parent 7b45ad5 commit 7ec15a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ void UI::DrawPlayer() {
everything = false;
}
{
bool all = (*Max::get().upgrades() & 0x57FFFE07) == 0x57FFFE07;
bool all = (*Max::get().upgrades() & 0x17FFFE07) == 0x17FFFE07;
bool change_all =
ImGui::Checkbox("Unlock all upgrades##UnlockAllUpgrades2", &all);
if (change_all || change_everything) {
Expand Down Expand Up @@ -832,7 +832,7 @@ void UI::DrawPlayer() {
if (ImGui::CollapsingHeader("Miscellaneous##PlayerMisc")) {
ImGui::PushID("PlayerSectionMisc");
DebugPtr(Max::get().upgrades());
bool all = (*Max::get().upgrades() & 0x57FFFE07) == 0x57FFFE07;
bool all = (*Max::get().upgrades() & 0x17FFFE07) == 0x17FFFE07;
if (ImGui::Checkbox("Unlock all upgrades##UnlockAllUpgrades", &all)) {
if (all) {
*Max::get().upgrades() |= 0x57FFFE07;
Expand Down

0 comments on commit 7ec15a0

Please sign in to comment.