aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/script.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/script.h')
-rw-r--r--engines/saga/script.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/saga/script.h b/engines/saga/script.h
index a8a0cd762b..b358a00966 100644
--- a/engines/saga/script.h
+++ b/engines/saga/script.h
@@ -326,6 +326,11 @@ public:
_sleepTime = sleepTime;
}
+ void waitFrames(int frames) {
+ wait(kWaitTypeWaitFrames);
+ _frameWait = frames;
+ }
+
ScriptThread() {
memset(this, 0xFE, sizeof(*this));
_stackBuf = NULL;