aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/snail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge/snail.cpp')
-rw-r--r--engines/cge/snail.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/cge/snail.cpp b/engines/cge/snail.cpp
index 3605ad94bd..f13a42f566 100644
--- a/engines/cge/snail.cpp
+++ b/engines/cge/snail.cpp
@@ -978,8 +978,10 @@ void Snail::runCom() {
if (spr->seqTest(snc->_val) &&
(snc->_val >= 0 || spr != _hero || _hero->_tracePtr < 0)) {
_timerExpiry = g_system->getMillis() + spr->_time * kSnailFrameDelay;
- } else
- goto xit;
+ } else {
+ _busy = false;
+ return;
+ }
}
break;
case kSnLevel:
@@ -1171,8 +1173,6 @@ void Snail::runCom() {
if (!_turbo)
break;
}
-xit:
- _busy = false;
}
bool Snail::idle() {