aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword25')
-rw-r--r--engines/sword25/math/region.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sword25/math/region.cpp b/engines/sword25/math/region.cpp
index b6ebaee23f..db888e432a 100644
--- a/engines/sword25/math/region.cpp
+++ b/engines/sword25/math/region.cpp
@@ -311,10 +311,10 @@ bool Region::persist(OutputPersistenceBlock &writer) {
++It;
}
- writer.write((uint32)_boundingBox.left);
- writer.write((uint32)_boundingBox.top);
- writer.write((uint32)_boundingBox.right);
- writer.write((uint32)_boundingBox.bottom);
+ writer.write((int32)_boundingBox.left);
+ writer.write((int32)_boundingBox.top);
+ writer.write((int32)_boundingBox.right);
+ writer.write((int32)_boundingBox.bottom);
return Result;
}