diff options
author | Strangerke | 2018-08-30 23:49:43 +0200 |
---|---|---|
committer | Strangerke | 2018-08-31 00:24:00 +0200 |
commit | 0a70f6f18b296da01fc0a1c739fb472283d3b633 (patch) | |
tree | 898df1dff16992ac32facfcbb0ff04f6a729a739 /engines | |
parent | 543f7666f3577eb4cdfe7988873fa731b995d45b (diff) | |
download | scummvm-rg350-0a70f6f18b296da01fc0a1c739fb472283d3b633.tar.gz scummvm-rg350-0a70f6f18b296da01fc0a1c739fb472283d3b633.tar.bz2 scummvm-rg350-0a70f6f18b296da01fc0a1c739fb472283d3b633.zip |
STARTREK: Fix an uninitialized variable in bitmap
Diffstat (limited to 'engines')
-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() { |