diff options
author | Paul Gilbert | 2017-09-06 19:37:06 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-06 19:37:06 -0400 |
commit | 258015571ba58eb7c3281e2c833df83430c503c6 (patch) | |
tree | 86eed299eaa09f5748c54302b51cfe27fd96aab9 /engines/titanic/true_talk | |
parent | 0a3b6d34d5c8828537585ad8603a5191437824b1 (diff) | |
download | scummvm-rg350-258015571ba58eb7c3281e2c833df83430c503c6.tar.gz scummvm-rg350-258015571ba58eb7c3281e2c833df83430c503c6.tar.bz2 scummvm-rg350-258015571ba58eb7c3281e2c833df83430c503c6.zip |
TITANIC: Add 'skip' response for Deskbot to skip entire checkin
Diffstat (limited to 'engines/titanic/true_talk')
-rw-r--r-- | engines/titanic/true_talk/deskbot_script.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/true_talk/deskbot_script.cpp b/engines/titanic/true_talk/deskbot_script.cpp index d44cedf636..3f65db9375 100644 --- a/engines/titanic/true_talk/deskbot_script.cpp +++ b/engines/titanic/true_talk/deskbot_script.cpp @@ -1129,6 +1129,11 @@ int DeskbotScript::preprocess(const TTroomScript *roomScript, const TTsentence * setDialRegion(1, 0); addResponse(getDialogueId(241268)); addAskBreakfast(); + } else if (sentence->contains("skip")) { + // WORKAROUND: Added 'skip' to allow skipping entire checkin + addAssignedRoom(); + setState(0); + CTrueTalkManager::setFlags(CURRENT_STATE, 0); } else { // Player didn't say yes or no addResponse(getDialogueId(240745)); |