diff options
author | Marisa-Chan | 2013-11-13 22:38:57 +0000 |
---|---|---|
committer | Marisa-Chan | 2013-11-13 22:38:57 +0000 |
commit | a0d73c34cf21403be85af43a5f1020ae910edde7 (patch) | |
tree | e21bd5099c1de35625b1dbd7eadb404fb4fb82ac /engines/zvision | |
parent | 7bd57a9ad6bfa551ce2fb605b71fa78e38c5fe88 (diff) | |
download | scummvm-rg350-a0d73c34cf21403be85af43a5f1020ae910edde7.tar.gz scummvm-rg350-a0d73c34cf21403be85af43a5f1020ae910edde7.tar.bz2 scummvm-rg350-a0d73c34cf21403be85af43a5f1020ae910edde7.zip |
ZVISION: Code for ActionDisableControl and ActionEnableControl.
Diffstat (limited to 'engines/zvision')
-rw-r--r-- | engines/zvision/actions.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/zvision/actions.cpp b/engines/zvision/actions.cpp index 4fe288d228..ea33736b5d 100644 --- a/engines/zvision/actions.cpp +++ b/engines/zvision/actions.cpp @@ -137,9 +137,7 @@ ActionDisableControl::ActionDisableControl(ZVision *engine, const Common::String } bool ActionDisableControl::execute() { - debug("Disabling control %u", _key); - - + _engine->getScriptManager()->setStateFlag(_key, Puzzle::DISABLED); return true; } @@ -154,9 +152,7 @@ ActionEnableControl::ActionEnableControl(ZVision *engine, const Common::String & } bool ActionEnableControl::execute() { - debug("Enabling control %u", _key); - - + _engine->getScriptManager()->unsetStateFlag(_key, Puzzle::DISABLED); return true; } |