diff options
-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) { |