[Scummvm-git-logs] scummvm master -> 473efc5c275eb622e456ee83ca6130e8ae35389f

dreammaster dreammaster at scummvm.org
Sat Feb 17 22:05:06 CET 2018


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:
473efc5c27 XEEN: Fix vertical line skipping in sprite rendering


Commit: 473efc5c275eb622e456ee83ca6130e8ae35389f
    https://github.com/scummvm/scummvm/commit/473efc5c275eb622e456ee83ca6130e8ae35389f
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-02-17T16:05:06-05:00

Commit Message:
XEEN: Fix vertical line skipping in sprite rendering

Changed paths:
    engines/xeen/sprites.cpp


diff --git a/engines/xeen/sprites.cpp b/engines/xeen/sprites.cpp
index fd699f6..72af511 100644
--- a/engines/xeen/sprites.cpp
+++ b/engines/xeen/sprites.cpp
@@ -156,7 +156,7 @@ void SpriteResource::drawOffset(XSurface &dest, uint16 offset, const Common::Poi
 		if (lineLength == 0) {
 			// Skip the specified number of scan lines
 			int numLines = f.readByte();
-			destPos.y += getScaledVal(numLines, scaleMaskY);
+			destPos.y += getScaledVal(numLines + 1, scaleMaskY);
 			yCtr -= numLines;
 			continue;
 		}





More information about the Scummvm-git-logs mailing list