diff options
author | Gregory Montoir | 2003-12-03 13:00:56 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-12-03 13:00:56 +0000 |
commit | 894360920bc5596570eedc039de0116513d26225 (patch) | |
tree | 8ac7a202c264ad7b86adb606dec3fcc8c9a65e41 /queen/logic.cpp | |
parent | 07ba3cfabcb1f1496845b0b962d6b016c2dab179 (diff) | |
download | scummvm-rg350-894360920bc5596570eedc039de0116513d26225.tar.gz scummvm-rg350-894360920bc5596570eedc039de0116513d26225.tar.bz2 scummvm-rg350-894360920bc5596570eedc039de0116513d26225.zip |
fix klunk scene glitches
svn-id: r11486
Diffstat (limited to 'queen/logic.cpp')
-rw-r--r-- | queen/logic.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/queen/logic.cpp b/queen/logic.cpp index 4e38be0348..541e6b75ac 100644 --- a/queen/logic.cpp +++ b/queen/logic.cpp @@ -1505,6 +1505,14 @@ void Logic::animErase(uint16 bobNum) { } +void Logic::animReset(uint16 bobNum) { + + if (_newAnim[bobNum][0].frame != 0) { + _graphics->bob(bobNum)->animString(_newAnim[bobNum]); + } +} + + void Logic::animSetup(const GraphicData *gd, uint16 firstImage, uint16 bobNum, bool visible) { int16 tempFrames[20]; @@ -1898,7 +1906,9 @@ void Logic::dialogue(const char *dlgFile, int personInRoom, char *cutaway) { } _display->fullscreen(true); Talk::talk(dlgFile, personInRoom, cutaway, _graphics, _input, this, _resource, _sound); - _display->fullscreen(false); + if (!cutaway[0]) { + _display->fullscreen(false); + } } |