From 163dc349b6c9110cfb497266b246b9b8806a7012 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Tue, 4 May 2004 14:56:47 +0000 Subject: Fix insane regression. svn-id: r13774 --- scumm/smush/smush_player.cpp | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'scumm/smush') diff --git a/scumm/smush/smush_player.cpp b/scumm/smush/smush_player.cpp index 64b15a7129..da374aec85 100644 --- a/scumm/smush/smush_player.cpp +++ b/scumm/smush/smush_player.cpp @@ -717,8 +717,13 @@ void SmushPlayer::handleZlibFrameObject(Chunk &b) { _alreadyInit = true; } - _width = width; - _height = height; + if ((height == 242) && (width == 384)) { + _width = width; + _height = height; + } else { + _width = _vm->_screenWidth; + _height = _vm->_screenHeight; + } switch (codec) { case 1: @@ -776,8 +781,14 @@ void SmushPlayer::handleFrameObject(Chunk &b) { _alreadyInit = true; } - _width = width; - _height = height; + if ((height == 242) && (width == 384)) { + _width = width; + _height = height; + } else { + _width = _vm->_screenWidth; + _height = _vm->_screenHeight; + } + b.getWord(); b.getWord(); -- cgit v1.2.3