diff options
author | Travis Howell | 2005-09-09 07:24:11 +0000 |
---|---|---|
committer | Travis Howell | 2005-09-09 07:24:11 +0000 |
commit | 33ee143728a0eb0c6c73633420cc905b5137320a (patch) | |
tree | 93d662dd849da5466e3b83b1a9c8dd255223e373 /scumm/script_v6.cpp | |
parent | 233f1fb7ef5b4bc347b3d89abe8da52304d409d8 (diff) | |
download | scummvm-rg350-33ee143728a0eb0c6c73633420cc905b5137320a.tar.gz scummvm-rg350-33ee143728a0eb0c6c73633420cc905b5137320a.tar.bz2 scummvm-rg350-33ee143728a0eb0c6c73633420cc905b5137320a.zip |
Remove pointless check, exists in all SCUMM6+.
svn-id: r18793
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 6 |
1 files 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; |