diff options
Diffstat (limited to 'scumm/vars.cpp')
-rw-r--r-- | scumm/vars.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scumm/vars.cpp b/scumm/vars.cpp index f30b190273..b999eabd02 100644 --- a/scumm/vars.cpp +++ b/scumm/vars.cpp @@ -700,6 +700,11 @@ void ScummEngine::initScummVars() { VAR(VAR_V6_EMSSPACE) = 10000; } + if (VAR_ROOM_WIDTH != 0xFF && VAR_ROOM_HEIGHT != 0xFF) { + VAR(VAR_ROOM_WIDTH) = _screenWidth; + VAR(VAR_ROOM_HEIGHT) = _screenHeight; + } + if (VAR_FADE_DELAY != 0xFF) VAR(VAR_FADE_DELAY) = 3; |