diff options
author | uruk | 2014-08-13 19:57:09 +0200 |
---|---|---|
committer | uruk | 2014-08-13 19:57:09 +0200 |
commit | 547ad696f29bfefcf1552fd0d3c591db74bc2123 (patch) | |
tree | eaf2fb03de1656bd3266f16982322f93ad1a78b5 | |
parent | 277f844f0900c01839ad6dc5680110f9ea326d17 (diff) | |
download | scummvm-rg350-547ad696f29bfefcf1552fd0d3c591db74bc2123.tar.gz scummvm-rg350-547ad696f29bfefcf1552fd0d3c591db74bc2123.tar.bz2 scummvm-rg350-547ad696f29bfefcf1552fd0d3c591db74bc2123.zip |
CGE2: Initialize _h and _w in every constuctor of Bitmap.
-rw-r--r-- | engines/cge2/bitmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/bitmap.cpp b/engines/cge2/bitmap.cpp index 236b86e779..0f442b8c77 100644 --- a/engines/cge2/bitmap.cpp +++ b/engines/cge2/bitmap.cpp @@ -42,7 +42,7 @@ void Bitmap::setVM(CGE2Engine *vm) { _vm = vm; } -Bitmap::Bitmap(CGE2Engine *vm, const char *fname) : _v(nullptr), _b(nullptr), _map(0), _vm(vm) { +Bitmap::Bitmap(CGE2Engine *vm, const char *fname) : _w(0), _h(0), _v(nullptr), _b(nullptr), _map(0), _vm(vm) { Common::String path; if (!strcmp(fname, "04tal201")) { |