MOHAWK: Myst, pass the playback direction from the calling script to the movie player.

svn-id: r55657
This commit is contained in:
Bastien Bouclet 2011-01-30 13:54:39 +00:00
parent b43fae5c18
commit 0b69b6a842
3 changed files with 4 additions and 2 deletions

View file

@ -384,6 +384,7 @@ void MystScriptParser::o_triggerMovie(uint16 op, uint16 var, uint16 argc, uint16
// Trigger resource 6 movie overriding play direction
MystResourceType6 *resource = static_cast<MystResourceType6 *>(_invokingResource);
resource->setDirection(direction);
resource->playMovie();
// TODO: If movie has sound, resume background music