aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sherlock/image_file.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sherlock/image_file.cpp b/engines/sherlock/image_file.cpp
index 5202401fdf..3a97cef875 100644
--- a/engines/sherlock/image_file.cpp
+++ b/engines/sherlock/image_file.cpp
@@ -376,14 +376,14 @@ void ImageFile3DO::loadAnimationFile(Common::SeekableReadStream &stream) {
//
// Load data for frame and decompress it
- byte *data = new byte[celDataSize];
- stream.read(data, celDataSize);
+ byte *data_ = new byte[celDataSize];
+ stream.read(data_, celDataSize);
streamLeft -= celDataSize;
// always 16 bits per pixel (RGB555)
- decompress3DOCelFrame(frame, data, celDataSize, 16, NULL);
+ decompress3DOCelFrame(frame, data_, celDataSize, 16, NULL);
- delete[] data;
+ delete[] data_;
push_back(frame);
}