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/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/talk.h')
-rw-r--r-- | engines/sherlock/talk.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/sherlock/talk.h b/engines/sherlock/talk.h index dcc970a2ba..8352435a09 100644 --- a/engines/sherlock/talk.h +++ b/engines/sherlock/talk.h @@ -337,11 +337,6 @@ public: void pushTalkSequence(Object *obj); /** - * Returns true if the script stack is empty - */ - bool isSequencesEmpty() const { return _scriptStack.empty(); } - - /** * Pops an entry off of the script stack */ void popStack(); @@ -372,6 +367,11 @@ public: * object's sequence */ virtual void pullSequence() = 0; + + /** + * Returns true if the script stack is empty + */ + virtual bool isSequencesEmpty() const = 0; }; } // End of namespace Sherlock |