From 2f0e43bb2e402bbcf65175934d21ade6febaad60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B6rn=20Andersson?= Date: Sat, 8 Jun 2013 23:27:25 +0200 Subject: [PATCH] LURE: Fix bad operator in "hotspot" debug command, CID 1004147 --- engines/lure/debugger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/lure/debugger.cpp b/engines/lure/debugger.cpp index 3fbbf84469e..92f07a566ec 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");