mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-17 07:07:10 +00:00
MOHAWK: Change the Riven options dialog's cancel button not to save the settings
This commit is contained in:
parent
0c57c99f00
commit
d35d8efc50
@ -255,13 +255,9 @@ void RivenOptionsDialog::open() {
|
||||
|
||||
void RivenOptionsDialog::handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data) {
|
||||
switch (cmd) {
|
||||
case kZipCmd:
|
||||
_vm->_vars["azip"] = _zipModeCheckbox->getState() ? 1 : 0;
|
||||
break;
|
||||
case kWaterCmd:
|
||||
_vm->_vars["waterenabled"] = _waterEffectCheckbox->getState() ? 1 : 0;
|
||||
break;
|
||||
case GUI::kOKCmd:
|
||||
_vm->_vars["azip"] = _zipModeCheckbox->getState() ? 1 : 0;
|
||||
_vm->_vars["waterenabled"] = _waterEffectCheckbox->getState() ? 1 : 0;
|
||||
setResult(1);
|
||||
close();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user