aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cine/script.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/cine/script.cpp b/engines/cine/script.cpp
index c3eb33abde..fdcb3fd655 100644
--- a/engines/cine/script.cpp
+++ b/engines/cine/script.cpp
@@ -1437,7 +1437,11 @@ void o1_gotoIfDiff() {
}
void o1_removeLabel() {
- warning("STUB: o1_removeLabel()");
+ // TODO: verify this
+ byte labelIdx = getNextByte();
+
+ DEBUG_SCRIPT(_currentLine, "removeLabel(%d)", labelIdx);
+ _currentScriptElement->stack[labelIdx] = -1;
}
void o1_loop() {