diff options
Diffstat (limited to 'scumm/scumm.cpp')
-rw-r--r-- | scumm/scumm.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index eb92cbeb7b..f09f410c81 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -2328,25 +2328,6 @@ void ScummEngine::startScene(int room, Actor *a, int objectNr) { runExitScript(); - if (_switchRoomEffect >= 130 && _switchRoomEffect <= 133) { - // We're going to use scrollEffect(), so we'll need a copy of - // the current VirtScreen zero. - - VirtScreen *vs = &virtscr[0]; - - free(_scrollBuffer); - _scrollBuffer = (byte *) malloc(vs->h * vs->w); - - byte *src = vs->getPixels(0, 0); - byte *dst = _scrollBuffer; - - for (int y = 0; y < vs->h; y++) { - memcpy(dst, src, vs->w); - src += vs->pitch; - dst += vs->w; - } - } - killScriptsAndResources(); clearEnqueue(); if (_version >= 4 && _heversion <= 60) |