diff options
author | Paweł Kołodziejski | 2002-10-13 11:28:39 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2002-10-13 11:28:39 +0000 |
commit | f5d2dd45f6cbf1841c83e51f2d1644c362495099 (patch) | |
tree | 1b62ee2319eecf246437006b903c19ca395ad919 /scumm/gfx.cpp | |
parent | 2255b212ed0cd5615826170358b771ddd019d979 (diff) | |
download | scummvm-rg350-f5d2dd45f6cbf1841c83e51f2d1644c362495099.tar.gz scummvm-rg350-f5d2dd45f6cbf1841c83e51f2d1644c362495099.tar.bz2 scummvm-rg350-f5d2dd45f6cbf1841c83e51f2d1644c362495099.zip |
fixed crash after load some savegames - proper height initialisation
svn-id: r5137
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r-- | scumm/gfx.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index ed341641f2..a51be8a668 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -89,6 +89,11 @@ void Scumm::initVirtScreen(int slot, int number, int top, int width, int height, assert(height >= 0); assert(slot >= 0 && slot < 4); + if (_gameId == GID_DIG) { + if ((!slot) && (_scrHeight != 0)) + height = _scrHeight; + } + vs->number = slot; vs->unk1 = 0; vs->width = _realWidth; |