aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie/script.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/groovie/script.cpp')
-rw-r--r--engines/groovie/script.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/groovie/script.cpp b/engines/groovie/script.cpp
index bdae0c1337..bf922a2658 100644
--- a/engines/groovie/script.cpp
+++ b/engines/groovie/script.cpp
@@ -456,10 +456,13 @@ bool Script::playvideofromref(uint16 fileref) {
// Debug bitflags
debugScript(1, false, "Play video 0x%04X (bitflags:", fileref);
- for (int i = 10; i >= 0; i--) {
+ for (int i = 15; i >= 0; i--) {
debugScript(1, false, "%d", _bitflags & (1 << i)? 1 : 0);
+ if (i % 4 == 0) {
+ debugScript(1, false, " ");
+ }
}
- debugScript(1, true, ")");
+ debugScript(1, true, " <- 0)");
// Close the previous video file
if (_videoFile) {