diff --git a/engines/sci/engine/segment.h b/engines/sci/engine/segment.h index 14744e3e397..9a921d633a8 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; } /**