diff options
Diffstat (limited to 'engines/startrek/bitmap.cpp')
-rw-r--r-- | engines/startrek/bitmap.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/startrek/bitmap.cpp b/engines/startrek/bitmap.cpp index 46d3a3a8cf..c444a07b18 100644 --- a/engines/startrek/bitmap.cpp +++ b/engines/startrek/bitmap.cpp @@ -47,6 +47,7 @@ Bitmap::Bitmap(const Bitmap &bitmap) { Bitmap::Bitmap(int w, int h) : width(w), height(h), xoffset(0), yoffset(0) { pixels = new byte[width * height]; + pixelsArraySize = width * height; } Bitmap::~Bitmap() { |