From 2f0e43bb2e402bbcf65175934d21ade6febaad60 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sat, 8 Jun 2013 23:27:25 +0200 Subject: LURE: Fix bad operator in "hotspot" debug command, CID 1004147 --- engines/lure/debugger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/lure/debugger.cpp') 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"); -- cgit v1.2.3