From fe916f17941ecb383d9f19c7fc046af3816cd73f Mon Sep 17 00:00:00 2001 From: Strangerke Date: Fri, 27 Nov 2015 02:05:40 +0100 Subject: ACCESS: Martian - Simplify check in takePicture() --- engines/access/room.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines') diff --git a/engines/access/room.cpp b/engines/access/room.cpp index c91b37c65d..d0f1e59569 100644 --- a/engines/access/room.cpp +++ b/engines/access/room.cpp @@ -111,8 +111,7 @@ void Room::takePicture() { return; } - // TODO: simplify the second part of the test when tested - if ((_vm->_scrollCol < 35) || ((_vm->_scrollRow >= 10) && (_vm->_scrollRow >= 20))){ + if ((_vm->_scrollCol < 35) || (_vm->_scrollRow >= 20)){ Common::String msg = "THAT ISN'T INTERESTING ENOUGH TO WASTE FILM ON."; _vm->_scripts->doCmdPrint_v1(msg); return; -- cgit v1.2.3