diff options
author | Gregory Montoir | 2004-01-16 20:48:08 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-01-16 20:48:08 +0000 |
commit | 05c71be222e68a0e0752f3c59b81d76be5d6a518 (patch) | |
tree | d5a74c9dcb6f796658433bc179769edd70d864a2 | |
parent | 99500a0112e05ad73a67dc51e6fdfb59b1bf4f1f (diff) | |
download | scummvm-rg350-05c71be222e68a0e0752f3c59b81d76be5d6a518.tar.gz scummvm-rg350-05c71be222e68a0e0752f3c59b81d76be5d6a518.tar.bz2 scummvm-rg350-05c71be222e68a0e0752f3c59b81d76be5d6a518.zip |
redundant check
svn-id: r12442
-rw-r--r-- | queen/command.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/command.cpp b/queen/command.cpp index d1c7db7300..cc038ca060 100644 --- a/queen/command.cpp +++ b/queen/command.cpp @@ -434,7 +434,7 @@ int16 Command::makeJoeWalkTo(int16 x, int16 y, int16 objNum, Verb v, bool mustWa } if (v == VERB_WALK_TO) { _vm->logic()->entryObj(objData->entryObj); - if (objData->entryObj > 0 && v != VERB_CLOSE) { + if (objData->entryObj > 0) { _vm->logic()->newRoom(_vm->logic()->objectData(objData->entryObj)->room); // because this is an exit object, see if there is // a walk off point and set (x,y) accordingly |