aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/snail.cpp
diff options
context:
space:
mode:
authoruruk2014-07-29 16:41:56 +0200
committeruruk2014-07-29 16:41:56 +0200
commit4e32736e44a7bd90e34608d2ec7764b2ed260f52 (patch)
tree7f6b7b2ae14e355d7809295c08ce0210b7df2f58 /engines/cge2/snail.cpp
parentfc8f6d9cfef1345774ef3dc4a0193033597a4b04 (diff)
downloadscummvm-rg350-4e32736e44a7bd90e34608d2ec7764b2ed260f52.tar.gz
scummvm-rg350-4e32736e44a7bd90e34608d2ec7764b2ed260f52.tar.bz2
scummvm-rg350-4e32736e44a7bd90e34608d2ec7764b2ed260f52.zip
CGE2: Prevent the engine from entering an endless loop when loading.
Also remove CommandHandler::reset(), since it's not useful anymore.
Diffstat (limited to 'engines/cge2/snail.cpp')
-rw-r--r--engines/cge2/snail.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/engines/cge2/snail.cpp b/engines/cge2/snail.cpp
index 54ef036dc3..48e8ffdb70 100644
--- a/engines/cge2/snail.cpp
+++ b/engines/cge2/snail.cpp
@@ -749,10 +749,6 @@ bool CommandHandler::idle() {
return (!_vm->_waitRef && _head == _tail);
}
-void CommandHandler::reset() {
- _tail = _head;
-}
-
void CommandHandler::clear() {
_tail = _head;
_vm->killText();