diff options
Diffstat (limited to 'saga/sfuncs.cpp')
-rw-r--r-- | saga/sfuncs.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/saga/sfuncs.cpp b/saga/sfuncs.cpp index 28d66f9947..cebd7fa910 100644 --- a/saga/sfuncs.cpp +++ b/saga/sfuncs.cpp @@ -509,6 +509,13 @@ void Script::sfScriptGotoScene(SCRIPTFUNC_PARAMS) { return; } + // It is possible to leave scene when converse panel is on, + // particulalrly it may happen at Moneychanger tent. This + // prevent this from happening. + if (_vm->_interface->getMode() == kPanelConverse) { + _vm->_interface->setMode(kPanelMain); + } + // This is used for latter demos where all places on world map except // Tent Faire are substituted with LBM picture and short description // TODO: implement |