diff options
author | Torbjörn Andersson | 2013-06-08 23:27:25 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2013-06-08 23:27:25 +0200 |
commit | 2f0e43bb2e402bbcf65175934d21ade6febaad60 (patch) | |
tree | b89cd10c837f4af45b4dda890895f8b24d0cc573 /engines/lure | |
parent | dd003b6a280038c3cb271cf7da953dba833972a9 (diff) | |
download | scummvm-rg350-2f0e43bb2e402bbcf65175934d21ade6febaad60.tar.gz scummvm-rg350-2f0e43bb2e402bbcf65175934d21ade6febaad60.tar.bz2 scummvm-rg350-2f0e43bb2e402bbcf65175934d21ade6febaad60.zip |
LURE: Fix bad operator in "hotspot" debug command, CID 1004147
Diffstat (limited to 'engines/lure')
-rw-r--r-- | engines/lure/debugger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/debugger.cpp b/engines/lure/debugger.cpp index 3fbbf84469..92f07a566e 100644 --- a/engines/lure/debugger.cpp +++ b/engines/lure/debugger.cpp @@ -337,11 +337,11 @@ bool Debugger::cmd_hotspot(int argc, const char **argv) { } else if (strcmp(argv[2], "activate") == 0) { // Activate the hotspot res.activateHotspot(hs->hotspotId); - hs->flags &= !HOTSPOTFLAG_MENU_EXCLUSION; + hs->flags &= ~HOTSPOTFLAG_MENU_EXCLUSION; DebugPrintf("Activated\n"); } else if (strcmp(argv[2], "deactivate") == 0) { - // Activate the hotspot + // Deactivate the hotspot res.deactivateHotspot(hs->hotspotId); hs->flags |= HOTSPOTFLAG_MENU_EXCLUSION; DebugPrintf("Deactivated\n"); |