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/scalpel/scalpel_talk.h | |
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/scalpel/scalpel_talk.h')
-rw-r--r-- | engines/sherlock/scalpel/scalpel_talk.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sherlock/scalpel/scalpel_talk.h b/engines/sherlock/scalpel/scalpel_talk.h index 6f8b62cd2f..1d70db14b9 100644 --- a/engines/sherlock/scalpel/scalpel_talk.h +++ b/engines/sherlock/scalpel/scalpel_talk.h @@ -107,6 +107,11 @@ public: * object's sequence */ virtual void pullSequence(); + + /** + * Returns true if the script stack is empty + */ + virtual bool isSequencesEmpty() const { return _scriptStack.empty(); } }; } // End of namespace Scalpel |