Skip to content

Commit

Permalink
SCUMM: Port Mac Indy 3 Open/Save fix from 2.8
Browse files Browse the repository at this point in the history
The conditions had been mixed up so that Save was disabled instead of
Open, and vice versa.
  • Loading branch information
Torbjörn Andersson committed Dec 22, 2023
1 parent 0a989e0 commit b7b2069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/scumm/macgui/macgui_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ void MacGuiImpl::updateWindowManager() {
(_vm->_userPut > 0);
}

bool canLoad = _vm->canLoadGameStateCurrently() && saveCondition;
bool canSave = _vm->canSaveGameStateCurrently() && loadCondition;
bool canLoad = _vm->canLoadGameStateCurrently() && loadCondition;
bool canSave = _vm->canSaveGameStateCurrently() && saveCondition;

Graphics::MacMenuItem *gameMenu = menu->getMenuItem("Game");
Graphics::MacMenuItem *loadMenu = menu->getSubMenuItem(gameMenu, 0);
Expand Down

0 comments on commit b7b2069

Please sign in to comment.