aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2011-01-23 22:08:14 +0000
committerMatthew Hoops2011-01-23 22:08:14 +0000
commitc81be09bcd9b2654b3af3bf30ad7b4b387b62e44 (patch)
tree0df9ec229d2fded31413b1ba1c6b878c5ac101d6 /engines
parent7bf8dda27ff4b8aab2a386cb745227706a5a3779 (diff)
downloadscummvm-rg350-c81be09bcd9b2654b3af3bf30ad7b4b387b62e44.tar.gz
scummvm-rg350-c81be09bcd9b2654b3af3bf30ad7b4b387b62e44.tar.bz2
scummvm-rg350-c81be09bcd9b2654b3af3bf30ad7b4b387b62e44.zip
MOHAWK: Fix the Riven demo intro sequence (a regression from r55188)
svn-id: r55484
Diffstat (limited to 'engines')
-rw-r--r--engines/mohawk/video.cpp2
-rw-r--r--engines/mohawk/video.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/video.cpp b/engines/mohawk/video.cpp
index 838d855d88..4126803dc6 100644
--- a/engines/mohawk/video.cpp
+++ b/engines/mohawk/video.cpp
@@ -41,7 +41,7 @@ void VideoEntry::clear() {
start = Video::VideoTimestamp(0);
end = Video::VideoTimestamp(0xFFFFFFFF); // Largest possible, there is an endOfVideo() check anyway
filename.clear();
- id = 0;
+ id = -1;
}
bool VideoEntry::endOfVideo() {
diff --git a/engines/mohawk/video.h b/engines/mohawk/video.h
index 11d9ec3387..0fb2c95116 100644
--- a/engines/mohawk/video.h
+++ b/engines/mohawk/video.h
@@ -57,7 +57,7 @@ struct VideoEntry {
// Identification
Common::String filename; // External video files
- uint16 id; // Internal Mohawk files
+ int id; // Internal Mohawk files
// Helper functions
Video::SeekableVideoDecoder *operator->() const { assert(video); return video; } // TODO: Remove this eventually