[Scummvm-git-logs] scummvm master -> da9775cf12ddccb31ddb3bee034362522077c20e

yuv422 yuv422 at users.noreply.github.com
Mon Aug 24 13:48:23 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
da9775cf12 DRAGONS: Fix background width on lake scene


Commit: da9775cf12ddccb31ddb3bee034362522077c20e
    https://github.com/scummvm/scummvm/commit/da9775cf12ddccb31ddb3bee034362522077c20e
Author: Eric Fry (yuv422 at users.noreply.github.com)
Date: 2020-08-24T23:46:48+10:00

Commit Message:
DRAGONS: Fix background width on lake scene

Changed paths:
    engines/dragons/background.cpp


diff --git a/engines/dragons/background.cpp b/engines/dragons/background.cpp
index f41eec5b0d..d1a4b12eab 100644
--- a/engines/dragons/background.cpp
+++ b/engines/dragons/background.cpp
@@ -223,13 +223,13 @@ Common::Point Background::getPoint2(uint32 pointIndex) {
 }
 
 uint16 Background::getWidth() {
-	assert (_layerSurface[0]);
-	return _layerSurface[0]->w;
+	assert (_layerSurface[1]);
+	return _layerSurface[1]->w;
 }
 
 uint16 Background::getHeight() {
-	assert (_layerSurface[0]);
-	return _layerSurface[0]->h;
+	assert (_layerSurface[1]);
+	return _layerSurface[1]->h;
 }
 
 int16 Background::getPriorityAtPoint(Common::Point pos) {




More information about the Scummvm-git-logs mailing list