diff options
author | Paul Gilbert | 2015-08-17 20:16:22 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-08-17 20:16:22 -0400 |
commit | d3b8152a714d8ec4a573d51bc844a129c80b533c (patch) | |
tree | a4a4f6678c27505a96c733c7014a066281937052 /engines/sherlock/tattoo/tattoo_user_interface.cpp | |
parent | 39e75d75c6dbc728124ebacfa97937ae6f042e2f (diff) | |
download | scummvm-rg350-d3b8152a714d8ec4a573d51bc844a129c80b533c.tar.gz scummvm-rg350-d3b8152a714d8ec4a573d51bc844a129c80b533c.tar.bz2 scummvm-rg350-d3b8152a714d8ec4a573d51bc844a129c80b533c.zip |
SHERLOCK: RT: Extra integrity checks for the _talkSequenceStack
Diffstat (limited to 'engines/sherlock/tattoo/tattoo_user_interface.cpp')
-rw-r--r-- | engines/sherlock/tattoo/tattoo_user_interface.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sherlock/tattoo/tattoo_user_interface.cpp b/engines/sherlock/tattoo/tattoo_user_interface.cpp index 62fd890be9..68bc29bd12 100644 --- a/engines/sherlock/tattoo/tattoo_user_interface.cpp +++ b/engines/sherlock/tattoo/tattoo_user_interface.cpp @@ -378,6 +378,9 @@ void TattooUserInterface::doStandardControl() { if (vm._runningProlog) return; + // There shouldn't be anything left on the talk sequence stack since we're back in control + assert(talk.isSequencesEmpty()); + // When the end credits are active, any press will open the ScummVM global main menu if (_creditsWidget.active()) { if (_keyState.keycode || events._released || events._rightReleased) { |