[Scummvm-cvs-logs] scummvm master -> 2f0e43bb2e402bbcf65175934d21ade6febaad60

eriktorbjorn eriktorbjorn at telia.com
Sat Jun 8 23:29:16 CEST 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
2f0e43bb2e LURE: Fix bad operator in "hotspot" debug command, CID 1004147


Commit: 2f0e43bb2e402bbcf65175934d21ade6febaad60
    https://github.com/scummvm/scummvm/commit/2f0e43bb2e402bbcf65175934d21ade6febaad60
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2013-06-08T14:27:25-07:00

Commit Message:
LURE: Fix bad operator in "hotspot" debug command, CID 1004147

Changed paths:
    engines/lure/debugger.cpp



diff --git a/engines/lure/debugger.cpp b/engines/lure/debugger.cpp
index 3fbbf84..92f07a5 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");






More information about the Scummvm-git-logs mailing list