aboutsummaryrefslogtreecommitdiff
path: root/queen/cutaway.cpp
diff options
context:
space:
mode:
authorGregory Montoir2004-12-03 22:39:55 +0000
committerGregory Montoir2004-12-03 22:39:55 +0000
commitfb5dcffff19c8bb5c516a6ddcaea397fb709194b (patch)
tree038a2149a59e56ac9832262808e51edcbc21a305 /queen/cutaway.cpp
parent76bf11cbdf8a4549a9461a467d82dda12eec5d45 (diff)
downloadscummvm-rg350-fb5dcffff19c8bb5c516a6ddcaea397fb709194b.tar.gz
scummvm-rg350-fb5dcffff19c8bb5c516a6ddcaea397fb709194b.tar.bz2
scummvm-rg350-fb5dcffff19c8bb5c516a6ddcaea397fb709194b.zip
Minor cleanup, one more time.
Fixed a crash when returning to the launcher at the end of the game. I played FOTAQ (french) from the beginning to the end some hours ago, I haven't encountered any special problems/glitches (except the one mentionned above). svn-id: r15979
Diffstat (limited to 'queen/cutaway.cpp')
-rw-r--r--queen/cutaway.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/cutaway.cpp b/queen/cutaway.cpp
index 9aadf79e84..fb52ddfd78 100644
--- a/queen/cutaway.cpp
+++ b/queen/cutaway.cpp
@@ -904,7 +904,7 @@ void Cutaway::run(char *nextFilename) {
_comPanel = 0;
}
- if (nextFilename[0] == '\0' && !_anotherCutaway) {
+ if (nextFilename[0] == '\0' && !_anotherCutaway && _vm->logic()->currentRoom() != ROOM_ENDING_CREDITS) {
_vm->display()->fullscreen(false);
// Lines 2138-2182 in cutaway.c