aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorScott Thomas2011-04-20 22:58:19 +0930
committerScott Thomas2011-04-20 23:40:02 +0930
commitdaede376e1a7878e8b5b87350c2296c324b6d3bc (patch)
tree82a251c3c82102a943b609c3d103681de067616f /engines
parent2cc7b80b34d4e8fe9108a785dd940b1cd22910c4 (diff)
downloadscummvm-rg350-daede376e1a7878e8b5b87350c2296c324b6d3bc.tar.gz
scummvm-rg350-daede376e1a7878e8b5b87350c2296c324b6d3bc.tar.bz2
scummvm-rg350-daede376e1a7878e8b5b87350c2296c324b6d3bc.zip
GROOVIE: Tweak supernatural teeth detection (for VDX playback speed)
Diffstat (limited to 'engines')
-rw-r--r--engines/groovie/script.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/groovie/script.cpp b/engines/groovie/script.cpp
index 782391dd78..e68003f72e 100644
--- a/engines/groovie/script.cpp
+++ b/engines/groovie/script.cpp
@@ -580,14 +580,15 @@ bool Script::playvideofromref(uint32 fileref) {
if (_videoFile) {
_videoRef = fileref;
- if (_lastCursor == 7)
+ // If teeth cursor, and in main script, mark video prefer low-speed
+ // filename check as sometimes teeth used for puzzle movements (bishops)
+ if (_version == kGroovieT7G && _lastCursor == 7 && _scriptFile == "script.grv")
_bitflags |= (1 << 15);
_vm->_videoPlayer->load(_videoFile, _bitflags);
} else {
error("Couldn't open file");
return true;
}
- _lastCursor = 0xff;
_bitflags = 0;