aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/prince/script.cpp')
-rw-r--r--engines/prince/script.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/prince/script.cpp b/engines/prince/script.cpp
index 9dabebfb5e..582864d0c3 100644
--- a/engines/prince/script.cpp
+++ b/engines/prince/script.cpp
@@ -1723,6 +1723,7 @@ void Interpreter::O_SETBACKANIMDATA() {
void Interpreter::O_VIEWFLC() {
int32 animNr = readScriptFlagValue();
+ _vm->_flcFrameSurface = nullptr;
_vm->loadAnim(animNr, false);
debugInterpreter("O_VIEWFLC animNr %d", animNr);
}
@@ -1745,8 +1746,8 @@ void Interpreter::O_CHECKFLCEND() {
}
}
-// TODO
void Interpreter::O_FREEFLC() {
+ _vm->_flcFrameSurface = nullptr;
debugInterpreter("O_FREEFLC");
}