diff options
author | Thierry Crozat | 2017-11-19 21:47:33 +0000 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:15:41 +0000 |
commit | deb6168ed197f1594b6f4c0f7447dc450f10e1f4 (patch) | |
tree | 117564693ad9e9865401a223b93d04c9410148cb /engines/supernova/state.cpp | |
parent | 55fc09571f52c26392a0b54951db650968e99ff2 (diff) | |
download | scummvm-rg350-deb6168ed197f1594b6f4c0f7447dc450f10e1f4.tar.gz scummvm-rg350-deb6168ed197f1594b6f4c0f7447dc450f10e1f4.tar.bz2 scummvm-rg350-deb6168ed197f1594b6f4c0f7447dc450f10e1f4.zip |
SUPERNOVA: Make sure to exit bathroom to the same room from which it was entered
Diffstat (limited to 'engines/supernova/state.cpp')
-rw-r--r-- | engines/supernova/state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp index 3907370b62..6efcd49e8c 100644 --- a/engines/supernova/state.cpp +++ b/engines/supernova/state.cpp @@ -1812,7 +1812,7 @@ bool GameManager::genericInteract(Action verb, Object &obj1, Object &obj2) { } } } else if ((verb == ACTION_WALK) && (obj1._id == BATHROOM_DOOR)) { -// *bathroom = current_room; + _rooms[BATHROOM]->getObject(2)->_exitRoom = _currentRoom->getId(); return false; } else if ((verb == ACTION_USE) && Object::combine(obj1, obj2, WIRE, SOCKET)) _vm->renderMessage(kStringGenericInteract_30); |