mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 17:33:05 +00:00
MORTEVIELLE: Fix door animation display when opening the doors
This commit is contained in:
parent
818d3981e3
commit
d811df89ff
@ -1147,6 +1147,10 @@ void MortevielleEngine::fctEnter() {
|
||||
int randVal = (getRandomNumber(0, 10)) - 5;
|
||||
_soundManager.startSpeech(7, randVal, 1);
|
||||
displayAnimFrame(1, 1);
|
||||
while (_mixer->isSoundHandleActive(_soundManager._soundHandle) && !keyPressed() && !_mouseClick && !shouldQuit())
|
||||
;
|
||||
// In case the handle is still active, stop it.
|
||||
_mixer->stopHandle(_soundManager._soundHandle);
|
||||
|
||||
int charIndex = convertBitIndexToCharacterIndex(z);
|
||||
++_coreVar._faithScore;
|
||||
@ -1168,6 +1172,10 @@ void MortevielleEngine::fctEnter() {
|
||||
int randVal = (getRandomNumber(0, 10)) - 5;
|
||||
_soundManager.startSpeech(7, randVal, 1);
|
||||
displayAnimFrame(1, 1);
|
||||
while (_mixer->isSoundHandleActive(_soundManager._soundHandle) && !keyPressed() && !_mouseClick && !shouldQuit())
|
||||
;
|
||||
// In case the handle is still active, stop it.
|
||||
_mixer->stopHandle(_soundManager._soundHandle);
|
||||
|
||||
_coreVar._currPlace = _roomDoorId;
|
||||
prepareDisplayText();
|
||||
|
Loading…
x
Reference in New Issue
Block a user