aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/titanic/star_control/base_star.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/star_control/base_star.cpp b/engines/titanic/star_control/base_star.cpp
index 28cd7969ce..738ad5ab86 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();