aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/cge/snail.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/engines/cge/snail.cpp b/engines/cge/snail.cpp
index baaac250dd..54b786722f 100644
--- a/engines/cge/snail.cpp
+++ b/engines/cge/snail.cpp
@@ -913,9 +913,15 @@ void SNAIL::RunCom(void) {
COM *snc = &SNList[Tail];
if (! Turbo) { // only for the slower one
- if (_timerExpiry && (_timerExpiry > g_system->getMillis()))
- break;
- else {
+ if (_timerExpiry) {
+ // Delay in progress
+ if (_timerExpiry > g_system->getMillis())
+ // Delay not yet ended
+ break;
+
+ // Delay is finished
+ _timerExpiry = 0;
+ } else {
if (TextDelay) {
KillText();
TextDelay = false;