mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
MOHAWK: Fix loading the Myst cabin gauge movie
This commit is contained in:
parent
862e4302a7
commit
8dd9d44b1f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user