mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 19:30:41 +00:00
LURE: Fix bad operator in "hotspot" debug command, CID 1004147
This commit is contained in:
parent
dd003b6a28
commit
2f0e43bb2e
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user