diff options
author | Torbjörn Andersson | 2006-04-08 17:51:20 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-04-08 17:51:20 +0000 |
commit | 2167c56cb3eab26c5220a79d8234da33e9b1a34e (patch) | |
tree | 1b47c3aa58ac2958ccd2e0784d76696ce2d35cab | |
parent | 69e2ce1d4abce2da81651715f0c7c4b4fd92e83d (diff) | |
download | scummvm-rg350-2167c56cb3eab26c5220a79d8234da33e9b1a34e.tar.gz scummvm-rg350-2167c56cb3eab26c5220a79d8234da33e9b1a34e.tar.bz2 scummvm-rg350-2167c56cb3eab26c5220a79d8234da33e9b1a34e.zip |
This is probably what o1_removeLabel() should do. Is it used anywhere?
svn-id: r21698
-rw-r--r-- | engines/cine/script.cpp | 6 |
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() { |