From 33ee143728a0eb0c6c73633420cc905b5137320a Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Fri, 9 Sep 2005 07:24:11 +0000 Subject: Remove pointless check, exists in all SCUMM6+. svn-id: r18793 --- scumm/script_v6.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 2b57e971b9..7b9557ff83 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -1334,11 +1334,9 @@ void ScummEngine_v6::o6_loadRoomWithEgo() { a->putActor(0, 0, room); _egoPositioned = false; - if (VAR_WALKTO_OBJ != 0xFF) - VAR(VAR_WALKTO_OBJ) = obj; + VAR(VAR_WALKTO_OBJ) = obj; startScene(a->_room, a, obj); - if (VAR_WALKTO_OBJ != 0xFF) - VAR(VAR_WALKTO_OBJ) = 0; + VAR(VAR_WALKTO_OBJ) = 0; if (_version == 6) { camera._cur.x = camera._dest.x = a->_pos.x; -- cgit v1.2.3