diff options
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/scummvm.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index 991fde6f45..a28bf4934e 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -1954,6 +1954,9 @@ void Scumm::startScene(int room, Actor *a, int objectNr) { VAR(VAR_V6_SCREEN_HEIGHT) = _roomHeight; } + VAR(VAR_CAMERA_MIN_X) = _screenWidth / 2; + VAR(VAR_CAMERA_MAX_X) = _roomWidth - (_screenWidth / 2); + if (_features & GF_NEW_CAMERA) { VAR(VAR_CAMERA_MIN_Y) = _screenHeight / 2; VAR(VAR_CAMERA_MAX_Y) = _roomHeight - (_screenHeight / 2); @@ -1968,9 +1971,6 @@ void Scumm::startScene(int room, Actor *a, int objectNr) { if (_roomResource == 0) return; - VAR(VAR_CAMERA_MIN_X) = _screenWidth / 2; - VAR(VAR_CAMERA_MAX_X) = _roomWidth - (_screenWidth / 2); - memset(gfxUsageBits, 0, sizeof(gfxUsageBits)); if (a) { |