diff options
author | Eugene Sandulenko | 2004-01-31 12:28:38 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-01-31 12:28:38 +0000 |
commit | 21f7b4633aebe80a2bf243448610b0ab66a14533 (patch) | |
tree | 31b7d1424c7c025e7af4ee8f7fcc0d102053879a /scumm | |
parent | 5c2cb28c5ad7a2772618bf6cd5821490a149c663 (diff) | |
download | scummvm-rg350-21f7b4633aebe80a2bf243448610b0ab66a14533.tar.gz scummvm-rg350-21f7b4633aebe80a2bf243448610b0ab66a14533.tar.bz2 scummvm-rg350-21f7b4633aebe80a2bf243448610b0ab66a14533.zip |
Fix bug #887536 FT: Intro crash (regression).
svn-id: r12685
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/smush/smush_player.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scumm/smush/smush_player.cpp b/scumm/smush/smush_player.cpp index c85033bb9f..0a395f9d03 100644 --- a/scumm/smush/smush_player.cpp +++ b/scumm/smush/smush_player.cpp @@ -679,8 +679,10 @@ void SmushPlayer::handleFrameObject(Chunk &b) { if ((height > _vm->_screenHeight) || (width > _vm->_screenWidth)) return; - // Special case for FT smush files. - if ((height == 1) && (width == 1)) + // FT Insane uses smaller frames to draw overlays with moving objects + // Other .san files do have them as well but their purpose in unknown + // and often it causes memory overdraw. So just skip those frames + if (!_insanity && ((height != _vm->_screenHeight) || (width != _vm->_screenWidth))) return; if (!_alreadyInit) { |