aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTorbjörn Andersson2015-07-23 23:34:32 +0200
committerTorbjörn Andersson2015-07-23 23:34:32 +0200
commit7734cea9c87d2527abb09c0024caeeb26a51beb2 (patch)
tree45aa5de8c35ffce8a33c19bf13fa91d40d572b88 /engines
parent66df9c95e0eea427527491e964b40adc2a9def05 (diff)
downloadscummvm-rg350-7734cea9c87d2527abb09c0024caeeb26a51beb2.tar.gz
scummvm-rg350-7734cea9c87d2527abb09c0024caeeb26a51beb2.tar.bz2
scummvm-rg350-7734cea9c87d2527abb09c0024caeeb26a51beb2.zip
ACCESS: Remove unnecessary variable to fix GCC warning
We already have 'events' declared earlier in the function.
Diffstat (limited to 'engines')
-rw-r--r--engines/access/room.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/access/room.cpp b/engines/access/room.cpp
index 46e8d2c8d8..c91b37c65d 100644
--- a/engines/access/room.cpp
+++ b/engines/access/room.cpp
@@ -645,8 +645,6 @@ void Room::executeCommand(int commandId) {
walkCursor();
return;
case 8: {
- EventsManager &events = *_vm->_events;
-
events.forceSetCursor(CURSOR_CROSSHAIRS);
_vm->_scripts->_sequence = 10000;
_vm->_scripts->searchForSequence();