diff options
author | Gregory Montoir | 2003-11-03 14:47:05 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-11-03 14:47:05 +0000 |
commit | b6d8e8187bb9011dd4501adf8ba2fe2e905f96da (patch) | |
tree | 711f8280da5ca2a9dcc8220f995d840d0c80c5ce /queen | |
parent | b3b0118292df23a5d4bf0e9b32a56fb4ddfba1ea (diff) | |
download | scummvm-rg350-b6d8e8187bb9011dd4501adf8ba2fe2e905f96da.tar.gz scummvm-rg350-b6d8e8187bb9011dd4501adf8ba2fe2e905f96da.tar.bz2 scummvm-rg350-b6d8e8187bb9011dd4501adf8ba2fe2e905f96da.zip |
enable room switching
svn-id: r11089
Diffstat (limited to 'queen')
-rw-r--r-- | queen/logic.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/queen/logic.cpp b/queen/logic.cpp index a01af6e0f7..c1a6d9a8ff 100644 --- a/queen/logic.cpp +++ b/queen/logic.cpp @@ -1749,6 +1749,7 @@ int16 Logic::joeWalkTo(int16 x, int16 y, bool mustWalk) { _newRoom = 0; if (_entryObj != 0 && _cmd->selectedAction().value() != VERB_CLOSE) { + _newRoom = _objectData[_entryObj].room; // because this is an exit object, see if there is // a walk off point and set (x,y) accordingly WalkOffData *wod = walkOffPointForObject(k + _cmd->selectedNoun()); |