MOHAWK: Fix loading the Myst cabin gauge movie

This commit is contained in:
Bastien Bouclet 2015-12-14 20:23:57 +01:00
parent 862e4302a7
commit 8dd9d44b1f

View File

@ -3683,16 +3683,16 @@ void Myst::boilerFireUpdate(bool init) {
void Myst::boilerGaugeInit() {
if (_vm->getCurCard() == 4098) {
_cabinGaugeMovie = _vm->_video->playMovie(_vm->wrapMovieFilename("cabingau", kMystStack));
if (!_cabinFireMovie)
if (!_cabinGaugeMovie)
error("Failed to open cabingau movie");
_cabinFireMovie->moveTo(243, 96);
_cabinGaugeMovie->moveTo(243, 96);
} else {
_cabinGaugeMovie = _vm->_video->playMovie(_vm->wrapMovieFilename("cabcgfar", kMystStack));
if (!_cabinFireMovie)
if (!_cabinGaugeMovie)
error("Failed to open cabcgfar movie");
_cabinFireMovie->moveTo(254, 136);
_cabinGaugeMovie->moveTo(254, 136);
}
Audio::Timestamp frame;