MOHAWK: Myst, display a warning when trying to play a movie backwards.

svn-id: r55656
This commit is contained in:
Bastien Bouclet 2011-01-30 13:44:01 +00:00
parent 3cd1ac9ca6
commit b43fae5c18

View File

@ -184,8 +184,6 @@ MystResourceType6::MystResourceType6(MohawkEngine_Myst *vm, Common::SeekableRead
if (_top < 0)
_top = 0;
if (_direction != 1)
warning("Type 6 _u0 != 1");
if (_u3 != 0)
warning("Type 6 _u3 != 0");
@ -203,6 +201,9 @@ VideoHandle MystResourceType6::playMovie() {
// Check if the video is already running
VideoHandle handle = _vm->_video->findVideoHandle(_videoFile);
if (_direction != 1)
warning("Playing QT movies backwards is not implemented");
// If the video is not running, play it
if (handle == NULL_VID_HANDLE || _vm->_video->endOfVideo(handle)) {
if (_playBlocking) {