[Scummvm-git-logs] scummvm master -> 0ae9230be225cbb9ca129b3bc37c3ef44671a24d

dreammaster dreammaster at scummvm.org
Sat Apr 1 21:52:29 CEST 2017


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:
0ae9230be2 TITANIC: Fix loading of star position data


Commit: 0ae9230be225cbb9ca129b3bc37c3ef44671a24d
    https://github.com/scummvm/scummvm/commit/0ae9230be225cbb9ca129b3bc37c3ef44671a24d
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-04-01T15:52:20-04:00

Commit Message:
TITANIC: Fix loading of star position data

Changed paths:
    engines/titanic/star_control/base_star.cpp


diff --git a/engines/titanic/star_control/base_star.cpp b/engines/titanic/star_control/base_star.cpp
index 28cd796..738ad5a 100644
--- a/engines/titanic/star_control/base_star.cpp
+++ b/engines/titanic/star_control/base_star.cpp
@@ -37,9 +37,9 @@ void CBaseStarEntry::load(Common::SeekableReadStream &s) {
 	_blue = s.readByte();
 	_thickness = s.readByte();
 	_value = s.readFloatLE();
-	_position._x = s.readUint32LE();
-	_position._y = s.readUint32LE();
-	_position._z = s.readUint32LE();
+	_position._x = s.readFloatLE();
+	_position._y = s.readFloatLE();
+	_position._z = s.readFloatLE();
 
 	for (int idx = 0; idx < 5; ++idx)
 		_data[idx] = s.readUint32LE();





More information about the Scummvm-git-logs mailing list