aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/segment.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/segment.h b/engines/sci/engine/segment.h
index 14744e3e39..9a921d633a 100644
--- a/engines/sci/engine/segment.h
+++ b/engines/sci/engine/segment.h
@@ -508,11 +508,11 @@ public:
* Returns the maximum number of bytes that can be stored in the array.
*/
uint16 byteSize() const {
- uint16 size = _size;
+ uint16 size1 = _size;
if (_type == kArrayTypeID || _type == kArrayTypeInt16) {
- size *= sizeof(uint16);
+ size1 *= sizeof(uint16);
}
- return size;
+ return size1;
}
/**