[Scummvm-git-logs] scummvm branch-2-7 -> 53b6fa2a5378d2d14ba9f1fb947455bb9ced2a05

OMGPizzaGuy noreply at scummvm.org
Fri Jan 27 02:36:16 UTC 2023


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:
53b6fa2a53 ULTIMA8: Fix signed value loading of shape frame format. Bug #14066


Commit: 53b6fa2a5378d2d14ba9f1fb947455bb9ced2a05
    https://github.com/scummvm/scummvm/commit/53b6fa2a5378d2d14ba9f1fb947455bb9ced2a05
Author: Matthew Jimenez (matthew.jimenez at outlook.com)
Date: 2023-01-26T20:35:38-06:00

Commit Message:
ULTIMA8: Fix signed value loading of shape frame format. Bug #14066

Changed paths:
    engines/ultima/ultima8/graphics/raw_shape_frame.cpp


diff --git a/engines/ultima/ultima8/graphics/raw_shape_frame.cpp b/engines/ultima/ultima8/graphics/raw_shape_frame.cpp
index e447cdd2989..1a5177c4142 100644
--- a/engines/ultima/ultima8/graphics/raw_shape_frame.cpp
+++ b/engines/ultima/ultima8/graphics/raw_shape_frame.cpp
@@ -58,10 +58,10 @@ void RawShapeFrame::loadU8Format(const uint8 *data, uint32 size) {
 	stream.skip(8); // skip header
 	_compressed = stream.readByte();
 	stream.skip(1);
-	_width = stream.readUint16LE();
-	_height = stream.readUint16LE();
-	_xoff = stream.readUint16LE();
-	_yoff = stream.readUint16LE();
+	_width = stream.readSint16LE();
+	_height = stream.readSint16LE();
+	_xoff = stream.readSint16LE();
+	_yoff = stream.readSint16LE();
 
 	if (_height == 0)
 		return;




More information about the Scummvm-git-logs mailing list