From 4e32736e44a7bd90e34608d2ec7764b2ed260f52 Mon Sep 17 00:00:00 2001 From: uruk Date: Tue, 29 Jul 2014 16:41:56 +0200 Subject: CGE2: Prevent the engine from entering an endless loop when loading. Also remove CommandHandler::reset(), since it's not useful anymore. --- engines/cge2/snail.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'engines/cge2/snail.cpp') 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(); -- cgit v1.2.3